public DefaultClientFactory( ICommunicationObjectFactory <TService> communicationObjectFactory, ILogger logger) { _communicationObjectFactory = communicationObjectFactory; _logger = logger; }
/// <summary> /// Initializes a new <see cref="DefaultClient{TService}"/> instance. /// </summary> /// <param name="communicationObjectFactory">The factory used to create a communication object.</param> /// <param name="logger">The logger.</param> public DefaultClient(ICommunicationObjectFactory <TService> communicationObjectFactory, ILogger logger) : base(logger) { _communicationObjectFactory = communicationObjectFactory; }