OperationContractServer.cs 3.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  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.IOperationContract")]
  14. public interface IOperationContract
  15. {
  16. [System.ServiceModel.OperationContractAttribute(Action="http://MonoTests.Features.Contracts/IOperationContract/RenamedMethod", ReplyAction="http://MonoTests.Features.Contracts/IOperationContract/RenamedMethodResponse")]
  17. int RenamedMethod();
  18. [System.ServiceModel.OperationContractAttribute(Action="http://MonoTests.Features.Contracts/IOperationContract/OrigMethod", ReplyAction="http://MonoTests.Features.Contracts/IOperationContract/OrigMethodResponse")]
  19. int OrigMethod();
  20. [System.ServiceModel.OperationContractAttribute(IsOneWay=true, Action="http://MonoTests.Features.Contracts/IOperationContract/Sleep")]
  21. void Sleep(int mili);
  22. }
  23. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
  24. public interface IOperationContractChannel : Proxy.MonoTests.Features.Client.IOperationContract, System.ServiceModel.IClientChannel
  25. {
  26. }
  27. [System.Diagnostics.DebuggerStepThroughAttribute()]
  28. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
  29. public partial class OperationContractClient : System.ServiceModel.ClientBase<Proxy.MonoTests.Features.Client.IOperationContract>, Proxy.MonoTests.Features.Client.IOperationContract
  30. {
  31. public OperationContractClient()
  32. {
  33. }
  34. public OperationContractClient(string endpointConfigurationName) :
  35. base(endpointConfigurationName)
  36. {
  37. }
  38. public OperationContractClient(string endpointConfigurationName, string remoteAddress) :
  39. base(endpointConfigurationName, remoteAddress)
  40. {
  41. }
  42. public OperationContractClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
  43. base(endpointConfigurationName, remoteAddress)
  44. {
  45. }
  46. public OperationContractClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
  47. base(binding, remoteAddress)
  48. {
  49. }
  50. public int RenamedMethod()
  51. {
  52. return base.Channel.RenamedMethod();
  53. }
  54. public int OrigMethod()
  55. {
  56. return base.Channel.OrigMethod();
  57. }
  58. public void Sleep(int mili)
  59. {
  60. base.Channel.Sleep(mili);
  61. }
  62. }
  63. }