//------------------------------------------------------------------------------ // // 此代码由工具生成。 // 运行时版本:4.0.30319.34011 // // 对此文件的更改可能会导致不正确的行为,并且如果 // 重新生成代码,这些更改将会丢失。 // //------------------------------------------------------------------------------ namespace Update.LoginService { 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="WcfLoginResponseMessage", Namespace="http://schemas.datacontract.org/2004/07/Bwp.Web.Pages.WCFs")] [System.SerializableAttribute()] public partial class WcfLoginResponseMessage : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged { [System.NonSerializedAttribute()] private System.Runtime.Serialization.ExtensionDataObject extensionDataField; [System.Runtime.Serialization.OptionalFieldAttribute()] private string MessageField; [System.Runtime.Serialization.OptionalFieldAttribute()] private bool SuccessField; [global::System.ComponentModel.BrowsableAttribute(false)] public System.Runtime.Serialization.ExtensionDataObject ExtensionData { get { return this.extensionDataField; } set { this.extensionDataField = value; } } [System.Runtime.Serialization.DataMemberAttribute()] 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()] public bool Success { get { return this.SuccessField; } set { if ((this.SuccessField.Equals(value) != true)) { this.SuccessField = value; this.RaisePropertyChanged("Success"); } } } 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="LoginService.ILoginService")] public interface ILoginService { [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ILoginService/Login", ReplyAction="http://tempuri.org/ILoginService/LoginResponse")] Update.LoginService.WcfLoginResponseMessage Login(string username, string password); [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ILoginService/KeepLogin", ReplyAction="http://tempuri.org/ILoginService/KeepLoginResponse")] bool KeepLogin(string ticket); } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] public interface ILoginServiceChannel : Update.LoginService.ILoginService, System.ServiceModel.IClientChannel { } [System.Diagnostics.DebuggerStepThroughAttribute()] [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] public partial class LoginServiceClient : System.ServiceModel.ClientBase, Update.LoginService.ILoginService { public LoginServiceClient() { } public LoginServiceClient(string endpointConfigurationName) : base(endpointConfigurationName) { } public LoginServiceClient(string endpointConfigurationName, string remoteAddress) : base(endpointConfigurationName, remoteAddress) { } public LoginServiceClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) : base(endpointConfigurationName, remoteAddress) { } public LoginServiceClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : base(binding, remoteAddress) { } public Update.LoginService.WcfLoginResponseMessage Login(string username, string password) { return base.Channel.Login(username, password); } public bool KeepLogin(string ticket) { return base.Channel.KeepLogin(ticket); } } }