PrimitiveTester.cs 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  1. //------------------------------------------------------------------------------
  2. // <auto-generated>
  3. // This code was generated by a tool.
  4. // Runtime Version:2.0.50727.1433
  5. //
  6. // Changes to this file may cause incorrect behavior and will be lost if
  7. // the code is regenerated.
  8. // </auto-generated>
  9. //------------------------------------------------------------------------------
  10. namespace Proxy.MonoTests.Features.Client
  11. {
  12. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
  13. [System.ServiceModel.ServiceContractAttribute(Namespace="http://MonoTests.Features.Contracts", ConfigurationName="Proxy.MonoTests.Features.Client.IPrimitiveTesterContract")]
  14. public interface IPrimitiveTesterContract
  15. {
  16. [System.ServiceModel.OperationContractAttribute(Action="http://MonoTests.Features.Contracts/IPrimitiveTesterContract/DoNothing", ReplyAction="http://MonoTests.Features.Contracts/IPrimitiveTesterContract/DoNothingResponse")]
  17. void DoNothing();
  18. [System.ServiceModel.OperationContractAttribute(Action="http://MonoTests.Features.Contracts/IPrimitiveTesterContract/AddByte", ReplyAction="http://MonoTests.Features.Contracts/IPrimitiveTesterContract/AddByteResponse")]
  19. int AddByte(byte n1, byte n2);
  20. [System.ServiceModel.OperationContractAttribute(Action="http://MonoTests.Features.Contracts/IPrimitiveTesterContract/AddSByte", ReplyAction="http://MonoTests.Features.Contracts/IPrimitiveTesterContract/AddSByteResponse")]
  21. int AddSByte(sbyte n1, sbyte n2);
  22. [System.ServiceModel.OperationContractAttribute(Action="http://MonoTests.Features.Contracts/IPrimitiveTesterContract/AddShort", ReplyAction="http://MonoTests.Features.Contracts/IPrimitiveTesterContract/AddShortResponse")]
  23. int AddShort(short n1, short n2);
  24. [System.ServiceModel.OperationContractAttribute(Action="http://MonoTests.Features.Contracts/IPrimitiveTesterContract/AddUShort", ReplyAction="http://MonoTests.Features.Contracts/IPrimitiveTesterContract/AddUShortResponse")]
  25. int AddUShort(ushort n1, ushort n2);
  26. [System.ServiceModel.OperationContractAttribute(Action="http://MonoTests.Features.Contracts/IPrimitiveTesterContract/AddInt", ReplyAction="http://MonoTests.Features.Contracts/IPrimitiveTesterContract/AddIntResponse")]
  27. int AddInt(int n1, int n2);
  28. [System.ServiceModel.OperationContractAttribute(Action="http://MonoTests.Features.Contracts/IPrimitiveTesterContract/AddUInt", ReplyAction="http://MonoTests.Features.Contracts/IPrimitiveTesterContract/AddUIntResponse")]
  29. uint AddUInt(uint n1, uint n2);
  30. [System.ServiceModel.OperationContractAttribute(Action="http://MonoTests.Features.Contracts/IPrimitiveTesterContract/AddLong", ReplyAction="http://MonoTests.Features.Contracts/IPrimitiveTesterContract/AddLongResponse")]
  31. long AddLong(long n1, long n2);
  32. [System.ServiceModel.OperationContractAttribute(Action="http://MonoTests.Features.Contracts/IPrimitiveTesterContract/AddULong", ReplyAction="http://MonoTests.Features.Contracts/IPrimitiveTesterContract/AddULongResponse")]
  33. ulong AddULong(ulong n1, ulong n2);
  34. [System.ServiceModel.OperationContractAttribute(Action="http://MonoTests.Features.Contracts/IPrimitiveTesterContract/AddDouble", ReplyAction="http://MonoTests.Features.Contracts/IPrimitiveTesterContract/AddDoubleResponse")]
  35. double AddDouble(double n1, double n2);
  36. [System.ServiceModel.OperationContractAttribute(Action="http://MonoTests.Features.Contracts/IPrimitiveTesterContract/AddFloat", ReplyAction="http://MonoTests.Features.Contracts/IPrimitiveTesterContract/AddFloatResponse")]
  37. float AddFloat(float n1, float n2);
  38. [System.ServiceModel.OperationContractAttribute(Action="http://MonoTests.Features.Contracts/IPrimitiveTesterContract/AddByRef", ReplyAction="http://MonoTests.Features.Contracts/IPrimitiveTesterContract/AddByRefResponse")]
  39. [return: System.ServiceModel.MessageParameterAttribute(Name="n3")]
  40. double AddByRef(out double n4, double n1, double n2);
  41. [System.ServiceModel.OperationContractAttribute(Action="http://MonoTests.Features.Contracts/IPrimitiveTesterContract/NullableInt", ReplyAction="http://MonoTests.Features.Contracts/IPrimitiveTesterContract/NullableIntResponse")]
  42. System.Nullable<int> NullableInt(System.Nullable<int> x);
  43. [System.ServiceModel.OperationContractAttribute(Action="http://MonoTests.Features.Contracts/IPrimitiveTesterContract/NullableChar", ReplyAction="http://MonoTests.Features.Contracts/IPrimitiveTesterContract/NullableCharResponse" +
  44. "")]
  45. System.Nullable<char> NullableChar(System.Nullable<char> x);
  46. }
  47. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
  48. public interface IPrimitiveTesterContractChannel : Proxy.MonoTests.Features.Client.IPrimitiveTesterContract, System.ServiceModel.IClientChannel
  49. {
  50. }
  51. [System.Diagnostics.DebuggerStepThroughAttribute()]
  52. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
  53. public partial class PrimitiveTesterContractClient : System.ServiceModel.ClientBase<Proxy.MonoTests.Features.Client.IPrimitiveTesterContract>, Proxy.MonoTests.Features.Client.IPrimitiveTesterContract
  54. {
  55. public PrimitiveTesterContractClient()
  56. {
  57. }
  58. public PrimitiveTesterContractClient(string endpointConfigurationName) :
  59. base(endpointConfigurationName)
  60. {
  61. }
  62. public PrimitiveTesterContractClient(string endpointConfigurationName, string remoteAddress) :
  63. base(endpointConfigurationName, remoteAddress)
  64. {
  65. }
  66. public PrimitiveTesterContractClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
  67. base(endpointConfigurationName, remoteAddress)
  68. {
  69. }
  70. public PrimitiveTesterContractClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
  71. base(binding, remoteAddress)
  72. {
  73. }
  74. public void DoNothing()
  75. {
  76. base.Channel.DoNothing();
  77. }
  78. public int AddByte(byte n1, byte n2)
  79. {
  80. return base.Channel.AddByte(n1, n2);
  81. }
  82. public int AddSByte(sbyte n1, sbyte n2)
  83. {
  84. return base.Channel.AddSByte(n1, n2);
  85. }
  86. public int AddShort(short n1, short n2)
  87. {
  88. return base.Channel.AddShort(n1, n2);
  89. }
  90. public int AddUShort(ushort n1, ushort n2)
  91. {
  92. return base.Channel.AddUShort(n1, n2);
  93. }
  94. public int AddInt(int n1, int n2)
  95. {
  96. return base.Channel.AddInt(n1, n2);
  97. }
  98. public uint AddUInt(uint n1, uint n2)
  99. {
  100. return base.Channel.AddUInt(n1, n2);
  101. }
  102. public long AddLong(long n1, long n2)
  103. {
  104. return base.Channel.AddLong(n1, n2);
  105. }
  106. public ulong AddULong(ulong n1, ulong n2)
  107. {
  108. return base.Channel.AddULong(n1, n2);
  109. }
  110. public double AddDouble(double n1, double n2)
  111. {
  112. return base.Channel.AddDouble(n1, n2);
  113. }
  114. public float AddFloat(float n1, float n2)
  115. {
  116. return base.Channel.AddFloat(n1, n2);
  117. }
  118. public double AddByRef(out double n4, double n1, double n2)
  119. {
  120. return base.Channel.AddByRef(out n4, n1, n2);
  121. }
  122. public System.Nullable<int> NullableInt(System.Nullable<int> x)
  123. {
  124. return base.Channel.NullableInt(x);
  125. }
  126. public System.Nullable<char> NullableChar(System.Nullable<char> x)
  127. {
  128. return base.Channel.NullableChar(x);
  129. }
  130. }
  131. }