/// <summary> /// Initializes a new instance of the <see cref="T:System.Object" /> class. /// Use this if you need to provide the logger, for example for testing /// </summary> /// <param name="logger">The logger.</param> public RestMSMessageGateway(ILog logger) { Configuration = RestMSMessagingGatewayConfigurationSection.GetConfiguration(); Logger = logger; _timeout = Convert.ToDouble(Configuration.RestMS.Timeout); }
public RestMSClientRequestHandler(ILog logger) { this.logger = logger; configuration = RestMSMessagingGatewayConfigurationSection.GetConfiguration(); }