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