/// <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); }
/// <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); }