Reference.cs 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246
  1. //------------------------------------------------------------------------------
  2. // <auto-generated>
  3. // 此代码由工具生成。
  4. // 运行时版本:4.0.30319.42000
  5. //
  6. // 对此文件的更改可能会导致不正确的行为,并且如果
  7. // 重新生成代码,这些更改将会丢失。
  8. // </auto-generated>
  9. //------------------------------------------------------------------------------
  10. namespace GSMarketSys.nsSubSysLogout {
  11. using System.Runtime.Serialization;
  12. using System;
  13. [System.Diagnostics.DebuggerStepThroughAttribute()]
  14. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
  15. [System.Runtime.Serialization.DataContractAttribute(Name="ServiceLogin", Namespace="http://tempuri.org/")]
  16. [System.SerializableAttribute()]
  17. public partial class ServiceLogin : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
  18. [System.NonSerializedAttribute()]
  19. private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
  20. private bool FlagField;
  21. [System.Runtime.Serialization.OptionalFieldAttribute()]
  22. private string MessageField;
  23. [System.Runtime.Serialization.OptionalFieldAttribute()]
  24. private string AuUrlField;
  25. [System.Runtime.Serialization.OptionalFieldAttribute()]
  26. private string TagField;
  27. [global::System.ComponentModel.BrowsableAttribute(false)]
  28. public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
  29. get {
  30. return this.extensionDataField;
  31. }
  32. set {
  33. this.extensionDataField = value;
  34. }
  35. }
  36. [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true)]
  37. public bool Flag {
  38. get {
  39. return this.FlagField;
  40. }
  41. set {
  42. if ((this.FlagField.Equals(value) != true)) {
  43. this.FlagField = value;
  44. this.RaisePropertyChanged("Flag");
  45. }
  46. }
  47. }
  48. [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false)]
  49. public string Message {
  50. get {
  51. return this.MessageField;
  52. }
  53. set {
  54. if ((object.ReferenceEquals(this.MessageField, value) != true)) {
  55. this.MessageField = value;
  56. this.RaisePropertyChanged("Message");
  57. }
  58. }
  59. }
  60. [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=2)]
  61. public string AuUrl {
  62. get {
  63. return this.AuUrlField;
  64. }
  65. set {
  66. if ((object.ReferenceEquals(this.AuUrlField, value) != true)) {
  67. this.AuUrlField = value;
  68. this.RaisePropertyChanged("AuUrl");
  69. }
  70. }
  71. }
  72. [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=3)]
  73. public string Tag {
  74. get {
  75. return this.TagField;
  76. }
  77. set {
  78. if ((object.ReferenceEquals(this.TagField, value) != true)) {
  79. this.TagField = value;
  80. this.RaisePropertyChanged("Tag");
  81. }
  82. }
  83. }
  84. public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
  85. protected void RaisePropertyChanged(string propertyName) {
  86. System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
  87. if ((propertyChanged != null)) {
  88. propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
  89. }
  90. }
  91. }
  92. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
  93. [System.ServiceModel.ServiceContractAttribute(ConfigurationName="nsSubSysLogout.SubSysLogoutSoap")]
  94. public interface SubSysLogoutSoap {
  95. // CODEGEN: 命名空间 http://tempuri.org/ 的元素名称 UserNo 以后生成的消息协定未标记为 nillable
  96. [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/Logout", ReplyAction="*")]
  97. GSMarketSys.nsSubSysLogout.LogoutResponse Logout(GSMarketSys.nsSubSysLogout.LogoutRequest request);
  98. [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/Logout", ReplyAction="*")]
  99. System.Threading.Tasks.Task<GSMarketSys.nsSubSysLogout.LogoutResponse> LogoutAsync(GSMarketSys.nsSubSysLogout.LogoutRequest request);
  100. }
  101. [System.Diagnostics.DebuggerStepThroughAttribute()]
  102. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
  103. [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
  104. [System.ServiceModel.MessageContractAttribute(IsWrapped=false)]
  105. public partial class LogoutRequest {
  106. [System.ServiceModel.MessageBodyMemberAttribute(Name="Logout", Namespace="http://tempuri.org/", Order=0)]
  107. public GSMarketSys.nsSubSysLogout.LogoutRequestBody Body;
  108. public LogoutRequest() {
  109. }
  110. public LogoutRequest(GSMarketSys.nsSubSysLogout.LogoutRequestBody Body) {
  111. this.Body = Body;
  112. }
  113. }
  114. [System.Diagnostics.DebuggerStepThroughAttribute()]
  115. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
  116. [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
  117. [System.Runtime.Serialization.DataContractAttribute(Namespace="http://tempuri.org/")]
  118. public partial class LogoutRequestBody {
  119. [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=0)]
  120. public string UserNo;
  121. [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=1)]
  122. public string Guid;
  123. public LogoutRequestBody() {
  124. }
  125. public LogoutRequestBody(string UserNo, string Guid) {
  126. this.UserNo = UserNo;
  127. this.Guid = Guid;
  128. }
  129. }
  130. [System.Diagnostics.DebuggerStepThroughAttribute()]
  131. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
  132. [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
  133. [System.ServiceModel.MessageContractAttribute(IsWrapped=false)]
  134. public partial class LogoutResponse {
  135. [System.ServiceModel.MessageBodyMemberAttribute(Name="LogoutResponse", Namespace="http://tempuri.org/", Order=0)]
  136. public GSMarketSys.nsSubSysLogout.LogoutResponseBody Body;
  137. public LogoutResponse() {
  138. }
  139. public LogoutResponse(GSMarketSys.nsSubSysLogout.LogoutResponseBody Body) {
  140. this.Body = Body;
  141. }
  142. }
  143. [System.Diagnostics.DebuggerStepThroughAttribute()]
  144. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
  145. [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
  146. [System.Runtime.Serialization.DataContractAttribute(Namespace="http://tempuri.org/")]
  147. public partial class LogoutResponseBody {
  148. [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=0)]
  149. public GSMarketSys.nsSubSysLogout.ServiceLogin LogoutResult;
  150. public LogoutResponseBody() {
  151. }
  152. public LogoutResponseBody(GSMarketSys.nsSubSysLogout.ServiceLogin LogoutResult) {
  153. this.LogoutResult = LogoutResult;
  154. }
  155. }
  156. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
  157. public interface SubSysLogoutSoapChannel : GSMarketSys.nsSubSysLogout.SubSysLogoutSoap, System.ServiceModel.IClientChannel {
  158. }
  159. [System.Diagnostics.DebuggerStepThroughAttribute()]
  160. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
  161. public partial class SubSysLogoutSoapClient : System.ServiceModel.ClientBase<GSMarketSys.nsSubSysLogout.SubSysLogoutSoap>, GSMarketSys.nsSubSysLogout.SubSysLogoutSoap {
  162. public SubSysLogoutSoapClient() {
  163. }
  164. public SubSysLogoutSoapClient(string endpointConfigurationName) :
  165. base(endpointConfigurationName) {
  166. }
  167. public SubSysLogoutSoapClient(string endpointConfigurationName, string remoteAddress) :
  168. base(endpointConfigurationName, remoteAddress) {
  169. }
  170. public SubSysLogoutSoapClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
  171. base(endpointConfigurationName, remoteAddress) {
  172. }
  173. public SubSysLogoutSoapClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
  174. base(binding, remoteAddress) {
  175. }
  176. [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
  177. GSMarketSys.nsSubSysLogout.LogoutResponse GSMarketSys.nsSubSysLogout.SubSysLogoutSoap.Logout(GSMarketSys.nsSubSysLogout.LogoutRequest request) {
  178. return base.Channel.Logout(request);
  179. }
  180. public GSMarketSys.nsSubSysLogout.ServiceLogin Logout(string UserNo, string Guid) {
  181. GSMarketSys.nsSubSysLogout.LogoutRequest inValue = new GSMarketSys.nsSubSysLogout.LogoutRequest();
  182. inValue.Body = new GSMarketSys.nsSubSysLogout.LogoutRequestBody();
  183. inValue.Body.UserNo = UserNo;
  184. inValue.Body.Guid = Guid;
  185. GSMarketSys.nsSubSysLogout.LogoutResponse retVal = ((GSMarketSys.nsSubSysLogout.SubSysLogoutSoap)(this)).Logout(inValue);
  186. return retVal.Body.LogoutResult;
  187. }
  188. [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
  189. System.Threading.Tasks.Task<GSMarketSys.nsSubSysLogout.LogoutResponse> GSMarketSys.nsSubSysLogout.SubSysLogoutSoap.LogoutAsync(GSMarketSys.nsSubSysLogout.LogoutRequest request) {
  190. return base.Channel.LogoutAsync(request);
  191. }
  192. public System.Threading.Tasks.Task<GSMarketSys.nsSubSysLogout.LogoutResponse> LogoutAsync(string UserNo, string Guid) {
  193. GSMarketSys.nsSubSysLogout.LogoutRequest inValue = new GSMarketSys.nsSubSysLogout.LogoutRequest();
  194. inValue.Body = new GSMarketSys.nsSubSysLogout.LogoutRequestBody();
  195. inValue.Body.UserNo = UserNo;
  196. inValue.Body.Guid = Guid;
  197. return ((GSMarketSys.nsSubSysLogout.SubSysLogoutSoap)(this)).LogoutAsync(inValue);
  198. }
  199. }
  200. }