//------------------------------------------------------------------------------
//
// 此代码由工具生成。
// 运行时版本:4.0.30319.42000
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
//
//------------------------------------------------------------------------------
namespace GSMarketSys.nsSubSysLogout {
using System.Runtime.Serialization;
using System;
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
[System.Runtime.Serialization.DataContractAttribute(Name="ServiceLogin", Namespace="http://tempuri.org/")]
[System.SerializableAttribute()]
public partial class ServiceLogin : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
[System.NonSerializedAttribute()]
private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
private bool FlagField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private string MessageField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private string AuUrlField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private string TagField;
[global::System.ComponentModel.BrowsableAttribute(false)]
public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
get {
return this.extensionDataField;
}
set {
this.extensionDataField = value;
}
}
[System.Runtime.Serialization.DataMemberAttribute(IsRequired=true)]
public bool Flag {
get {
return this.FlagField;
}
set {
if ((this.FlagField.Equals(value) != true)) {
this.FlagField = value;
this.RaisePropertyChanged("Flag");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false)]
public string Message {
get {
return this.MessageField;
}
set {
if ((object.ReferenceEquals(this.MessageField, value) != true)) {
this.MessageField = value;
this.RaisePropertyChanged("Message");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=2)]
public string AuUrl {
get {
return this.AuUrlField;
}
set {
if ((object.ReferenceEquals(this.AuUrlField, value) != true)) {
this.AuUrlField = value;
this.RaisePropertyChanged("AuUrl");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=3)]
public string Tag {
get {
return this.TagField;
}
set {
if ((object.ReferenceEquals(this.TagField, value) != true)) {
this.TagField = value;
this.RaisePropertyChanged("Tag");
}
}
}
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
protected void RaisePropertyChanged(string propertyName) {
System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
if ((propertyChanged != null)) {
propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
}
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
[System.ServiceModel.ServiceContractAttribute(ConfigurationName="nsSubSysLogout.SubSysLogoutSoap")]
public interface SubSysLogoutSoap {
// CODEGEN: 命名空间 http://tempuri.org/ 的元素名称 UserNo 以后生成的消息协定未标记为 nillable
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/Logout", ReplyAction="*")]
GSMarketSys.nsSubSysLogout.LogoutResponse Logout(GSMarketSys.nsSubSysLogout.LogoutRequest request);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/Logout", ReplyAction="*")]
System.Threading.Tasks.Task LogoutAsync(GSMarketSys.nsSubSysLogout.LogoutRequest request);
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
[System.ServiceModel.MessageContractAttribute(IsWrapped=false)]
public partial class LogoutRequest {
[System.ServiceModel.MessageBodyMemberAttribute(Name="Logout", Namespace="http://tempuri.org/", Order=0)]
public GSMarketSys.nsSubSysLogout.LogoutRequestBody Body;
public LogoutRequest() {
}
public LogoutRequest(GSMarketSys.nsSubSysLogout.LogoutRequestBody Body) {
this.Body = Body;
}
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
[System.Runtime.Serialization.DataContractAttribute(Namespace="http://tempuri.org/")]
public partial class LogoutRequestBody {
[System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=0)]
public string UserNo;
[System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=1)]
public string Guid;
public LogoutRequestBody() {
}
public LogoutRequestBody(string UserNo, string Guid) {
this.UserNo = UserNo;
this.Guid = Guid;
}
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
[System.ServiceModel.MessageContractAttribute(IsWrapped=false)]
public partial class LogoutResponse {
[System.ServiceModel.MessageBodyMemberAttribute(Name="LogoutResponse", Namespace="http://tempuri.org/", Order=0)]
public GSMarketSys.nsSubSysLogout.LogoutResponseBody Body;
public LogoutResponse() {
}
public LogoutResponse(GSMarketSys.nsSubSysLogout.LogoutResponseBody Body) {
this.Body = Body;
}
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
[System.Runtime.Serialization.DataContractAttribute(Namespace="http://tempuri.org/")]
public partial class LogoutResponseBody {
[System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=0)]
public GSMarketSys.nsSubSysLogout.ServiceLogin LogoutResult;
public LogoutResponseBody() {
}
public LogoutResponseBody(GSMarketSys.nsSubSysLogout.ServiceLogin LogoutResult) {
this.LogoutResult = LogoutResult;
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
public interface SubSysLogoutSoapChannel : GSMarketSys.nsSubSysLogout.SubSysLogoutSoap, System.ServiceModel.IClientChannel {
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
public partial class SubSysLogoutSoapClient : System.ServiceModel.ClientBase, GSMarketSys.nsSubSysLogout.SubSysLogoutSoap {
public SubSysLogoutSoapClient() {
}
public SubSysLogoutSoapClient(string endpointConfigurationName) :
base(endpointConfigurationName) {
}
public SubSysLogoutSoapClient(string endpointConfigurationName, string remoteAddress) :
base(endpointConfigurationName, remoteAddress) {
}
public SubSysLogoutSoapClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
base(endpointConfigurationName, remoteAddress) {
}
public SubSysLogoutSoapClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
base(binding, remoteAddress) {
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
GSMarketSys.nsSubSysLogout.LogoutResponse GSMarketSys.nsSubSysLogout.SubSysLogoutSoap.Logout(GSMarketSys.nsSubSysLogout.LogoutRequest request) {
return base.Channel.Logout(request);
}
public GSMarketSys.nsSubSysLogout.ServiceLogin Logout(string UserNo, string Guid) {
GSMarketSys.nsSubSysLogout.LogoutRequest inValue = new GSMarketSys.nsSubSysLogout.LogoutRequest();
inValue.Body = new GSMarketSys.nsSubSysLogout.LogoutRequestBody();
inValue.Body.UserNo = UserNo;
inValue.Body.Guid = Guid;
GSMarketSys.nsSubSysLogout.LogoutResponse retVal = ((GSMarketSys.nsSubSysLogout.SubSysLogoutSoap)(this)).Logout(inValue);
return retVal.Body.LogoutResult;
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
System.Threading.Tasks.Task GSMarketSys.nsSubSysLogout.SubSysLogoutSoap.LogoutAsync(GSMarketSys.nsSubSysLogout.LogoutRequest request) {
return base.Channel.LogoutAsync(request);
}
public System.Threading.Tasks.Task LogoutAsync(string UserNo, string Guid) {
GSMarketSys.nsSubSysLogout.LogoutRequest inValue = new GSMarketSys.nsSubSysLogout.LogoutRequest();
inValue.Body = new GSMarketSys.nsSubSysLogout.LogoutRequestBody();
inValue.Body.UserNo = UserNo;
inValue.Body.Guid = Guid;
return ((GSMarketSys.nsSubSysLogout.SubSysLogoutSoap)(this)).LogoutAsync(inValue);
}
}
}