Exemplo n.º 1
0
 /// <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;
 }
Exemplo n.º 2
0
 /// <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));
 }