public NotifierClient(Binding binding, EndpointAddress endpoint, INotifierServiceCallback callback) : base(binding, endpoint, callback) { }
/// <summary> /// Creates and configures the ServiceClient and opens the connection /// to the API via its Channel. /// </summary> protected DuplexServiceClient(Binding binding, EndpointAddress endpoint, INotifierServiceCallback callback) { this.ServiceChannel = DuplexChannelFactory <T> .CreateChannel(new InstanceContext(callback), binding, endpoint); (this.ServiceChannel as ICommunicationObject).Open(); }