示例#1
0
 public GeneralGrpcService(
     ILoggerFactory loggerFactory,
     ServerGrpcSubscribersBase <TResponse> serverGrpcSubscribers,
     MessageProcessorBase <TRequest, TResponse> messageProcessor)
 {
     _serverGrpcSubscribers = serverGrpcSubscribers;
     _messageProcessor      = messageProcessor;
     Logger = loggerFactory.CreateLogger <GeneralGrpcService <TRequest, TResponse> >();
 }