Example #1
0
 public MessageHandlingMiddleware(
     IOptionsMonitor <WebHandlingServerOptions> options,
     IMessagingClientFactory clientFactory)
 {
     this.options       = options;
     this.clientFactory = clientFactory;
 }
Example #2
0
 /// <summary/>
 public MongoRecordProcessor(
     ILogger <MongoRecordProcessor> logger,
     IOptionsMonitor <MessagingClientOptions> options,
     ExceptionModelConverter converter,
     IMessagingClientFactory clientFactory,
     ISystemClock clock)
 {
     this.logger        = logger;
     this.options       = options;
     this.converter     = converter;
     this.clientFactory = clientFactory;
     this.clock         = clock;
 }