Ejemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PccrdClient"/>class with logger
 /// </summary>
 /// <param name="logger">The logger record the debug information</param>
 public PccrdClient(ILogPrinter logger)
 {
     this.discoveryClient = new WsDiscoveryClient(logger);
     this.discoveryClient.MessageArrived += new MessageArrivedEventArgs(this.ReceiveMessage);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PccrdClient"/>class without parameter
 /// </summary>
 public PccrdClient()
 {
     this.discoveryClient = new WsDiscoveryClient();
     this.discoveryClient.MessageArrived += new MessageArrivedEventArgs(this.ReceiveMessage);
 }