Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //------------------------------------------------------------------------------
- // <auto-generated>
- // This code was generated by a tool.
- // Runtime Version:4.0.30319.269
- //
- // Changes to this file may cause incorrect behavior and will be lost if
- // the code is regenerated.
- // </auto-generated>
- //------------------------------------------------------------------------------
- namespace vConsole.localhost
- {
- using System.Runtime.Serialization;
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
- [System.Runtime.Serialization.DataContractAttribute(Name="Message", Namespace="http://schemas.datacontract.org/2004/07/vModel.Entities")]
- public partial class Message : object, System.Runtime.Serialization.IExtensibleDataObject
- {
- private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
- private string Message_fromField;
- private string Message_textField;
- private System.DateTime Message_timeField;
- public System.Runtime.Serialization.ExtensionDataObject ExtensionData
- {
- get
- {
- return this.extensionDataField;
- }
- set
- {
- this.extensionDataField = value;
- }
- }
- [System.Runtime.Serialization.DataMemberAttribute()]
- public string Message_from
- {
- get
- {
- return this.Message_fromField;
- }
- set
- {
- this.Message_fromField = value;
- }
- }
- [System.Runtime.Serialization.DataMemberAttribute()]
- public string Message_text
- {
- get
- {
- return this.Message_textField;
- }
- set
- {
- this.Message_textField = value;
- }
- }
- [System.Runtime.Serialization.DataMemberAttribute()]
- public System.DateTime Message_time
- {
- get
- {
- return this.Message_timeField;
- }
- set
- {
- this.Message_timeField = value;
- }
- }
- }
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- [System.ServiceModel.ServiceContractAttribute(ConfigurationName="vConsole.localhost.ICheckService")]
- public interface ICheckService
- {
- [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICheckService/CheckInbox", ReplyAction="http://tempuri.org/ICheckService/CheckInboxResponse")]
- vConsole.localhost.Message[] CheckInbox(string user);
- [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICheckService/SendMessage", ReplyAction="http://tempuri.org/ICheckService/SendMessageResponse")]
- void SendMessage(string sender, string recipient, string messagetext);
- [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICheckService/ValidateCredentials", ReplyAction="http://tempuri.org/ICheckService/ValidateCredentialsResponse")]
- byte ValidateCredentials(string loginname, string password);
- }
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- public interface ICheckServiceChannel : vConsole.localhost.ICheckService, System.ServiceModel.IClientChannel
- {
- }
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- public partial class CheckServiceClient : System.ServiceModel.ClientBase<vConsole.localhost.ICheckService>, vConsole.localhost.ICheckService
- {
- public CheckServiceClient()
- {
- }
- public CheckServiceClient(string endpointConfigurationName) :
- base(endpointConfigurationName)
- {
- }
- public CheckServiceClient(string endpointConfigurationName, string remoteAddress) :
- base(endpointConfigurationName, remoteAddress)
- {
- }
- public CheckServiceClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
- base(endpointConfigurationName, remoteAddress)
- {
- }
- public CheckServiceClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
- base(binding, remoteAddress)
- {
- }
- public vConsole.localhost.Message[] CheckInbox(string user)
- {
- return base.Channel.CheckInbox(user);
- }
- public void SendMessage(string sender, string recipient, string messagetext)
- {
- base.Channel.SendMessage(sender, recipient, messagetext);
- }
- public byte ValidateCredentials(string loginname, string password)
- {
- return base.Channel.ValidateCredentials(loginname, password);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement