//------------------------------------------------------------------------------ // // 此代码由工具生成。 // 运行时版本:4.0.30319.42000 // // 对此文件的更改可能会导致不正确的行为,并且如果 // 重新生成代码,这些更改将会丢失。 // //------------------------------------------------------------------------------ namespace GSMarketSys.nsInformationExchange { 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="InformationExChangeEntity", Namespace="http://tempuri.org/")] [System.SerializableAttribute()] public partial class InformationExChangeEntity : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged { [System.NonSerializedAttribute()] private System.Runtime.Serialization.ExtensionDataObject extensionDataField; [System.Runtime.Serialization.OptionalFieldAttribute()] private string InfoGuidField; [System.Runtime.Serialization.OptionalFieldAttribute()] private string InfotitleField; [System.Runtime.Serialization.OptionalFieldAttribute()] private string InfoContentField; private System.DateTime SendDateField; [System.Runtime.Serialization.OptionalFieldAttribute()] private string SendbyField; [System.Runtime.Serialization.OptionalFieldAttribute()] private string RecipientField; [System.Runtime.Serialization.OptionalFieldAttribute()] private GSMarketSys.nsInformationExchange.InforMationAttachMentEntity[] AttachmentsField; [global::System.ComponentModel.BrowsableAttribute(false)] public System.Runtime.Serialization.ExtensionDataObject ExtensionData { get { return this.extensionDataField; } set { this.extensionDataField = value; } } [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false)] public string InfoGuid { get { return this.InfoGuidField; } set { if ((object.ReferenceEquals(this.InfoGuidField, value) != true)) { this.InfoGuidField = value; this.RaisePropertyChanged("InfoGuid"); } } } [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false)] public string Infotitle { get { return this.InfotitleField; } set { if ((object.ReferenceEquals(this.InfotitleField, value) != true)) { this.InfotitleField = value; this.RaisePropertyChanged("Infotitle"); } } } [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=2)] public string InfoContent { get { return this.InfoContentField; } set { if ((object.ReferenceEquals(this.InfoContentField, value) != true)) { this.InfoContentField = value; this.RaisePropertyChanged("InfoContent"); } } } [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true, Order=3)] public System.DateTime SendDate { get { return this.SendDateField; } set { if ((this.SendDateField.Equals(value) != true)) { this.SendDateField = value; this.RaisePropertyChanged("SendDate"); } } } [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=4)] public string Sendby { get { return this.SendbyField; } set { if ((object.ReferenceEquals(this.SendbyField, value) != true)) { this.SendbyField = value; this.RaisePropertyChanged("Sendby"); } } } [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=5)] public string Recipient { get { return this.RecipientField; } set { if ((object.ReferenceEquals(this.RecipientField, value) != true)) { this.RecipientField = value; this.RaisePropertyChanged("Recipient"); } } } [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=6)] public GSMarketSys.nsInformationExchange.InforMationAttachMentEntity[] Attachments { get { return this.AttachmentsField; } set { if ((object.ReferenceEquals(this.AttachmentsField, value) != true)) { this.AttachmentsField = value; this.RaisePropertyChanged("Attachments"); } } } 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.Diagnostics.DebuggerStepThroughAttribute()] [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] [System.Runtime.Serialization.DataContractAttribute(Name="InforMationAttachMentEntity", Namespace="http://tempuri.org/")] [System.SerializableAttribute()] public partial class InforMationAttachMentEntity : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged { [System.NonSerializedAttribute()] private System.Runtime.Serialization.ExtensionDataObject extensionDataField; [System.Runtime.Serialization.OptionalFieldAttribute()] private string AttachmentNameField; [System.Runtime.Serialization.OptionalFieldAttribute()] private byte[] AttachmentContentField; [System.Runtime.Serialization.OptionalFieldAttribute()] private string AttachmentFormatField; [global::System.ComponentModel.BrowsableAttribute(false)] public System.Runtime.Serialization.ExtensionDataObject ExtensionData { get { return this.extensionDataField; } set { this.extensionDataField = value; } } [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false)] public string AttachmentName { get { return this.AttachmentNameField; } set { if ((object.ReferenceEquals(this.AttachmentNameField, value) != true)) { this.AttachmentNameField = value; this.RaisePropertyChanged("AttachmentName"); } } } [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=1)] public byte[] AttachmentContent { get { return this.AttachmentContentField; } set { if ((object.ReferenceEquals(this.AttachmentContentField, value) != true)) { this.AttachmentContentField = value; this.RaisePropertyChanged("AttachmentContent"); } } } [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=2)] public string AttachmentFormat { get { return this.AttachmentFormatField; } set { if ((object.ReferenceEquals(this.AttachmentFormatField, value) != true)) { this.AttachmentFormatField = value; this.RaisePropertyChanged("AttachmentFormat"); } } } 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.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="nsInformationExchange.InformationExchangeSoap")] public interface InformationExchangeSoap { // CODEGEN: 命名空间 http://tempuri.org/ 的元素名称 infoEntity 以后生成的消息协定未标记为 nillable [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/InforReply", ReplyAction="*")] GSMarketSys.nsInformationExchange.InforReplyResponse InforReply(GSMarketSys.nsInformationExchange.InforReplyRequest request); [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/InforReply", ReplyAction="*")] System.Threading.Tasks.Task InforReplyAsync(GSMarketSys.nsInformationExchange.InforReplyRequest 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 InforReplyRequest { [System.ServiceModel.MessageBodyMemberAttribute(Name="InforReply", Namespace="http://tempuri.org/", Order=0)] public GSMarketSys.nsInformationExchange.InforReplyRequestBody Body; public InforReplyRequest() { } public InforReplyRequest(GSMarketSys.nsInformationExchange.InforReplyRequestBody 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 InforReplyRequestBody { [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=0)] public GSMarketSys.nsInformationExchange.InformationExChangeEntity infoEntity; [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=1)] public string Guid; public InforReplyRequestBody() { } public InforReplyRequestBody(GSMarketSys.nsInformationExchange.InformationExChangeEntity infoEntity, string Guid) { this.infoEntity = infoEntity; 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 InforReplyResponse { [System.ServiceModel.MessageBodyMemberAttribute(Name="InforReplyResponse", Namespace="http://tempuri.org/", Order=0)] public GSMarketSys.nsInformationExchange.InforReplyResponseBody Body; public InforReplyResponse() { } public InforReplyResponse(GSMarketSys.nsInformationExchange.InforReplyResponseBody 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 InforReplyResponseBody { [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=0)] public GSMarketSys.nsInformationExchange.ServiceLogin InforReplyResult; public InforReplyResponseBody() { } public InforReplyResponseBody(GSMarketSys.nsInformationExchange.ServiceLogin InforReplyResult) { this.InforReplyResult = InforReplyResult; } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] public interface InformationExchangeSoapChannel : GSMarketSys.nsInformationExchange.InformationExchangeSoap, System.ServiceModel.IClientChannel { } [System.Diagnostics.DebuggerStepThroughAttribute()] [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] public partial class InformationExchangeSoapClient : System.ServiceModel.ClientBase, GSMarketSys.nsInformationExchange.InformationExchangeSoap { public InformationExchangeSoapClient() { } public InformationExchangeSoapClient(string endpointConfigurationName) : base(endpointConfigurationName) { } public InformationExchangeSoapClient(string endpointConfigurationName, string remoteAddress) : base(endpointConfigurationName, remoteAddress) { } public InformationExchangeSoapClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) : base(endpointConfigurationName, remoteAddress) { } public InformationExchangeSoapClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : base(binding, remoteAddress) { } [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] GSMarketSys.nsInformationExchange.InforReplyResponse GSMarketSys.nsInformationExchange.InformationExchangeSoap.InforReply(GSMarketSys.nsInformationExchange.InforReplyRequest request) { return base.Channel.InforReply(request); } public GSMarketSys.nsInformationExchange.ServiceLogin InforReply(GSMarketSys.nsInformationExchange.InformationExChangeEntity infoEntity, string Guid) { GSMarketSys.nsInformationExchange.InforReplyRequest inValue = new GSMarketSys.nsInformationExchange.InforReplyRequest(); inValue.Body = new GSMarketSys.nsInformationExchange.InforReplyRequestBody(); inValue.Body.infoEntity = infoEntity; inValue.Body.Guid = Guid; GSMarketSys.nsInformationExchange.InforReplyResponse retVal = ((GSMarketSys.nsInformationExchange.InformationExchangeSoap)(this)).InforReply(inValue); return retVal.Body.InforReplyResult; } [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] System.Threading.Tasks.Task GSMarketSys.nsInformationExchange.InformationExchangeSoap.InforReplyAsync(GSMarketSys.nsInformationExchange.InforReplyRequest request) { return base.Channel.InforReplyAsync(request); } public System.Threading.Tasks.Task InforReplyAsync(GSMarketSys.nsInformationExchange.InformationExChangeEntity infoEntity, string Guid) { GSMarketSys.nsInformationExchange.InforReplyRequest inValue = new GSMarketSys.nsInformationExchange.InforReplyRequest(); inValue.Body = new GSMarketSys.nsInformationExchange.InforReplyRequestBody(); inValue.Body.infoEntity = infoEntity; inValue.Body.Guid = Guid; return ((GSMarketSys.nsInformationExchange.InformationExchangeSoap)(this)).InforReplyAsync(inValue); } } }