Advertisement
Guest User

reference_cs_for_v

a guest
May 26th, 2012
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 5.26 KB | None | 0 0
  1. //------------------------------------------------------------------------------
  2. // <auto-generated>
  3. //     This code was generated by a tool.
  4. //     Runtime Version:4.0.30319.269
  5. //
  6. //     Changes to this file may cause incorrect behavior and will be lost if
  7. //     the code is regenerated.
  8. // </auto-generated>
  9. //------------------------------------------------------------------------------
  10.  
  11. namespace vConsole.localhost
  12. {
  13.     using System.Runtime.Serialization;
  14.    
  15.    
  16.     [System.Diagnostics.DebuggerStepThroughAttribute()]
  17.     [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
  18.     [System.Runtime.Serialization.DataContractAttribute(Name="Message", Namespace="http://schemas.datacontract.org/2004/07/vModel.Entities")]
  19.     public partial class Message : object, System.Runtime.Serialization.IExtensibleDataObject
  20.     {
  21.        
  22.         private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
  23.        
  24.         private string Message_fromField;
  25.        
  26.         private string Message_textField;
  27.        
  28.         private System.DateTime Message_timeField;
  29.        
  30.         public System.Runtime.Serialization.ExtensionDataObject ExtensionData
  31.         {
  32.             get
  33.             {
  34.                 return this.extensionDataField;
  35.             }
  36.             set
  37.             {
  38.                 this.extensionDataField = value;
  39.             }
  40.         }
  41.        
  42.         [System.Runtime.Serialization.DataMemberAttribute()]
  43.         public string Message_from
  44.         {
  45.             get
  46.             {
  47.                 return this.Message_fromField;
  48.             }
  49.             set
  50.             {
  51.                 this.Message_fromField = value;
  52.             }
  53.         }
  54.        
  55.         [System.Runtime.Serialization.DataMemberAttribute()]
  56.         public string Message_text
  57.         {
  58.             get
  59.             {
  60.                 return this.Message_textField;
  61.             }
  62.             set
  63.             {
  64.                 this.Message_textField = value;
  65.             }
  66.         }
  67.        
  68.         [System.Runtime.Serialization.DataMemberAttribute()]
  69.         public System.DateTime Message_time
  70.         {
  71.             get
  72.             {
  73.                 return this.Message_timeField;
  74.             }
  75.             set
  76.             {
  77.                 this.Message_timeField = value;
  78.             }
  79.         }
  80.     }
  81.    
  82.     [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
  83.     [System.ServiceModel.ServiceContractAttribute(ConfigurationName="vConsole.localhost.ICheckService")]
  84.     public interface ICheckService
  85.     {
  86.        
  87.         [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICheckService/CheckInbox", ReplyAction="http://tempuri.org/ICheckService/CheckInboxResponse")]
  88.         vConsole.localhost.Message[] CheckInbox(string user);
  89.        
  90.         [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICheckService/SendMessage", ReplyAction="http://tempuri.org/ICheckService/SendMessageResponse")]
  91.         void SendMessage(string sender, string recipient, string messagetext);
  92.        
  93.         [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICheckService/ValidateCredentials", ReplyAction="http://tempuri.org/ICheckService/ValidateCredentialsResponse")]
  94.         byte ValidateCredentials(string loginname, string password);
  95.     }
  96.    
  97.     [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
  98.     public interface ICheckServiceChannel : vConsole.localhost.ICheckService, System.ServiceModel.IClientChannel
  99.     {
  100.     }
  101.    
  102.     [System.Diagnostics.DebuggerStepThroughAttribute()]
  103.     [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
  104.     public partial class CheckServiceClient : System.ServiceModel.ClientBase<vConsole.localhost.ICheckService>, vConsole.localhost.ICheckService
  105.     {
  106.        
  107.         public CheckServiceClient()
  108.         {
  109.         }
  110.        
  111.         public CheckServiceClient(string endpointConfigurationName) :
  112.                 base(endpointConfigurationName)
  113.         {
  114.         }
  115.        
  116.         public CheckServiceClient(string endpointConfigurationName, string remoteAddress) :
  117.                 base(endpointConfigurationName, remoteAddress)
  118.         {
  119.         }
  120.        
  121.         public CheckServiceClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
  122.                 base(endpointConfigurationName, remoteAddress)
  123.         {
  124.         }
  125.        
  126.         public CheckServiceClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
  127.                 base(binding, remoteAddress)
  128.         {
  129.         }
  130.        
  131.         public vConsole.localhost.Message[] CheckInbox(string user)
  132.         {
  133.             return base.Channel.CheckInbox(user);
  134.         }
  135.        
  136.         public void SendMessage(string sender, string recipient, string messagetext)
  137.         {
  138.             base.Channel.SendMessage(sender, recipient, messagetext);
  139.         }
  140.        
  141.         public byte ValidateCredentials(string loginname, string password)
  142.         {
  143.             return base.Channel.ValidateCredentials(loginname, password);
  144.         }
  145.     }
  146. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement