| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252 | //------------------------------------------------------------------------------// <auto-generated>//     此代码由工具生成。//     运行时版本:4.0.30319.42000////     对此文件的更改可能会导致不正确的行为,并且如果//     重新生成代码,这些更改将会丢失。// </auto-generated>//------------------------------------------------------------------------------namespace GSMarketSys.nsRightsWS {    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="nsRightsWS.RightsWSSoap")]    public interface RightsWSSoap {                // CODEGEN: 命名空间 http://tempuri.org/ 的元素名称 UserNo 以后生成的消息协定未标记为 nillable        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/LoginToApp", ReplyAction="*")]        GSMarketSys.nsRightsWS.LoginToAppResponse LoginToApp(GSMarketSys.nsRightsWS.LoginToAppRequest request);                [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/LoginToApp", ReplyAction="*")]        System.Threading.Tasks.Task<GSMarketSys.nsRightsWS.LoginToAppResponse> LoginToAppAsync(GSMarketSys.nsRightsWS.LoginToAppRequest 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 LoginToAppRequest {                [System.ServiceModel.MessageBodyMemberAttribute(Name="LoginToApp", Namespace="http://tempuri.org/", Order=0)]        public GSMarketSys.nsRightsWS.LoginToAppRequestBody Body;                public LoginToAppRequest() {        }                public LoginToAppRequest(GSMarketSys.nsRightsWS.LoginToAppRequestBody 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 LoginToAppRequestBody {                [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=0)]        public string UserNo;                [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=1)]        public string UserPwd;                [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=2)]        public string Appno;                public LoginToAppRequestBody() {        }                public LoginToAppRequestBody(string UserNo, string UserPwd, string Appno) {            this.UserNo = UserNo;            this.UserPwd = UserPwd;            this.Appno = Appno;        }    }        [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 LoginToAppResponse {                [System.ServiceModel.MessageBodyMemberAttribute(Name="LoginToAppResponse", Namespace="http://tempuri.org/", Order=0)]        public GSMarketSys.nsRightsWS.LoginToAppResponseBody Body;                public LoginToAppResponse() {        }                public LoginToAppResponse(GSMarketSys.nsRightsWS.LoginToAppResponseBody 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 LoginToAppResponseBody {                [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=0)]        public GSMarketSys.nsRightsWS.ServiceLogin LoginToAppResult;                public LoginToAppResponseBody() {        }                public LoginToAppResponseBody(GSMarketSys.nsRightsWS.ServiceLogin LoginToAppResult) {            this.LoginToAppResult = LoginToAppResult;        }    }        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]    public interface RightsWSSoapChannel : GSMarketSys.nsRightsWS.RightsWSSoap, System.ServiceModel.IClientChannel {    }        [System.Diagnostics.DebuggerStepThroughAttribute()]    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]    public partial class RightsWSSoapClient : System.ServiceModel.ClientBase<GSMarketSys.nsRightsWS.RightsWSSoap>, GSMarketSys.nsRightsWS.RightsWSSoap {                public RightsWSSoapClient() {        }                public RightsWSSoapClient(string endpointConfigurationName) :                 base(endpointConfigurationName) {        }                public RightsWSSoapClient(string endpointConfigurationName, string remoteAddress) :                 base(endpointConfigurationName, remoteAddress) {        }                public RightsWSSoapClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :                 base(endpointConfigurationName, remoteAddress) {        }                public RightsWSSoapClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :                 base(binding, remoteAddress) {        }                [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]        GSMarketSys.nsRightsWS.LoginToAppResponse GSMarketSys.nsRightsWS.RightsWSSoap.LoginToApp(GSMarketSys.nsRightsWS.LoginToAppRequest request) {            return base.Channel.LoginToApp(request);        }                public GSMarketSys.nsRightsWS.ServiceLogin LoginToApp(string UserNo, string UserPwd, string Appno) {            GSMarketSys.nsRightsWS.LoginToAppRequest inValue = new GSMarketSys.nsRightsWS.LoginToAppRequest();            inValue.Body = new GSMarketSys.nsRightsWS.LoginToAppRequestBody();            inValue.Body.UserNo = UserNo;            inValue.Body.UserPwd = UserPwd;            inValue.Body.Appno = Appno;            GSMarketSys.nsRightsWS.LoginToAppResponse retVal = ((GSMarketSys.nsRightsWS.RightsWSSoap)(this)).LoginToApp(inValue);            return retVal.Body.LoginToAppResult;        }                [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]        System.Threading.Tasks.Task<GSMarketSys.nsRightsWS.LoginToAppResponse> GSMarketSys.nsRightsWS.RightsWSSoap.LoginToAppAsync(GSMarketSys.nsRightsWS.LoginToAppRequest request) {            return base.Channel.LoginToAppAsync(request);        }                public System.Threading.Tasks.Task<GSMarketSys.nsRightsWS.LoginToAppResponse> LoginToAppAsync(string UserNo, string UserPwd, string Appno) {            GSMarketSys.nsRightsWS.LoginToAppRequest inValue = new GSMarketSys.nsRightsWS.LoginToAppRequest();            inValue.Body = new GSMarketSys.nsRightsWS.LoginToAppRequestBody();            inValue.Body.UserNo = UserNo;            inValue.Body.UserPwd = UserPwd;            inValue.Body.Appno = Appno;            return ((GSMarketSys.nsRightsWS.RightsWSSoap)(this)).LoginToAppAsync(inValue);        }    }}
 |