/// <summary> /// Initializes a new instance of the <see cref="PccrdServer"/>class /// </summary> /// <param name="logger"> The specified logger.</param> public PccrdServer(ILogPrinter logger) { this.service = new WsDiscoveryService(logger); this.service.MessageArrived += new MessageArrivedEventArgs(this.HandleRequest); }
/// <summary> /// Initializes a new instance of the <see cref="PccrdServer"/>class without parameter /// </summary> public PccrdServer() { this.service = new WsDiscoveryService(); this.service.MessageArrived += new MessageArrivedEventArgs(this.HandleRequest); }