public GreeterService(MessagesContainer messageContainer, MessageHistoryContainer historyContainer, GRPCLogConsumer grpcLogConsumer, ILogger <GreeterService> logger)
 {
     MessageHistoryContainer = historyContainer;
     _grpcLogConsumer        = grpcLogConsumer;
     Logger           = logger;
     MessageContainer = messageContainer;
 }
Exemplo n.º 2
0
 public CleanUpWorker(MessagesContainer messageContainer, MessageHistoryContainer historyContainer, ServiceConfiguration configuration, ILogger <GreeterService> logger)
 {
     Logger = logger;
     ServiceConfiguration = configuration;
     MessageContainer     = messageContainer;
     HistoryContainer     = historyContainer;
 }