public RokuDeviceProvider(string connectionString, ILogger logger)
 {
     this.rpcClient =
         new RpcLoggingHandler(
             new IoTHubRokuRpcClient(connectionString),
             logger);
 }
예제 #2
0
 public RpcLoggingHandler(IRokuRpcClient innerClient, ILogger logger)
 {
     this.innerClient = innerClient ?? throw new ArgumentNullException(nameof(innerClient));
     this.logger      = logger ?? throw new ArgumentNullException(nameof(logger));
 }