Example #1
0
 public SubscriptionService(
     ILogger <SubscriptionService> logger,
     IConnectionModule connModule,
     ISerializationManager serializationMgr)
 {
     _logger           = logger ?? throw new ArgumentNullException(nameof(logger));
     _connModule       = connModule ?? throw new ArgumentNullException(nameof(connModule));
     _serializationMgr = serializationMgr ?? throw new ArgumentNullException(nameof(serializationMgr));
 }
Example #2
0
 public RedisPublisher(IConnectionModule connModule, IPublisherModule pubModule,
                       ILogger <RedisPublisher> logger,
                       ISerializationManager serialization)
 {
     _connModule    = connModule ?? throw new ArgumentNullException(nameof(connModule));
     _pubModule     = pubModule ?? throw new ArgumentNullException(nameof(pubModule));
     _logger        = logger ?? throw new ArgumentNullException(nameof(logger));
     _serialization = serialization ?? throw new ArgumentNullException(nameof(serialization));
 }
Example #3
0
 public HostMessagePublisher(
     IConnectionModule connectionModule,
     IPublisherModule publisherModule,
     ISerializationManager serialization)
 {
     _connectionModule = connectionModule ?? throw new ArgumentNullException(nameof(connectionModule));
     _publisherModule  = publisherModule ?? throw new ArgumentNullException(nameof(publisherModule));
     _serialization    = serialization ?? throw new ArgumentNullException(nameof(serialization));
 }
Example #4
0
 public RedisService(IConnectionModule connModule)
 {
     _connModule = connModule ?? throw new ArgumentNullException(nameof(connModule));
 }
 public ConnectionPageViewModel(IViewModelBaseModule baseModule, IConnectionModule connectionModule) : base(baseModule)
 {
     Title             = "Dashboard";
     _connectionModule = connectionModule;
 }