コード例 #1
0
 /// <summary>The constructor with a socket</summary>
 public Device(Socket socket)
 {
     this.npcClientCaller = new NpcClient(socket);
 }
コード例 #2
0
 /// <summary>The constructor with a socket</summary>
 public StaticClass(Socket socket)
 {
     this.npcClientCaller = new NpcClient(socket);
 }
コード例 #3
0
 /// <summary>The constructor with an endpoint</summary>
 public Device(EndPoint endPoint)
 {
     this.npcClientCaller = new NpcClient(endPoint);
 }
コード例 #4
0
 /// <summary>The constructor with an NpcClient</summary>
 public StaticClass(INpcClientCaller npcClientCaller)
 {
     this.npcClientCaller = npcClientCaller;
 }
コード例 #5
0
 /// <summary>The constructor with an endpoint</summary>
 public StaticClass(EndPoint endPoint)
 {
     this.npcClientCaller = new NpcClient(endPoint);
 }
コード例 #6
0
 /// <summary>The constructor with an NpcClient</summary>
 public Device(INpcClientCaller npcClientCaller)
 {
     this.npcClientCaller = npcClientCaller;
 }
コード例 #7
0
 /// <summary>The constructor with a socket</summary>
 public UsbImpl(Socket socket)
 {
     this.npcClientCaller = new NpcClient(socket);
 }
コード例 #8
0
 /// <summary>The constructor with an endpoint</summary>
 public UsbImpl(EndPoint endPoint)
 {
     this.npcClientCaller = new NpcClient(endPoint);
 }
コード例 #9
0
 /// <summary>The constructor with an NpcClient</summary>
 public UsbImpl(INpcClientCaller npcClientCaller)
 {
     this.npcClientCaller = npcClientCaller;
 }
コード例 #10
0
 public NpcClientNamespaceCaller(INpcClientCaller client, String @namespace)
 {
     this.client          = client;
     this.@namespace      = @namespace;
     this.namespacePrefix = (@namespace[@namespace.Length - 1] == '.') ? @namespace : @namespace + ".";
 }