/// <summary> /// Initializes a new instance of the <see cref="WebexAdapter"/> class. /// Creates a Webex adapter. /// </summary> /// <param name="webexClient">A Webex API interface.</param> /// <param name="logger">The ILogger implementation this adapter should use.</param> public WebexAdapter(WebexClientWrapper webexClient, ILogger logger = null) { _webexClient = webexClient ?? throw new ArgumentNullException(nameof(webexClient)); _logger = logger ?? NullLogger.Instance; }
/// <summary> /// Initializes a new instance of the <see cref="WebexAdapter"/> class. /// Creates a Webex adapter. /// </summary> /// <param name="webexClient">A Webex API interface.</param> public WebexAdapter(WebexClientWrapper webexClient) { _webexClient = webexClient ?? throw new ArgumentNullException(nameof(webexClient)); }