Example #1
0
 public ServiceHostCommandDispatcher(IServiceHostGrpcServiceFactory serviceFactory)
 {
     _commandService = serviceFactory.CreateGrpcService <ICommandService>();
 }
Example #2
0
 public ServiceHostQueryDispatcher(IServiceHostGrpcServiceFactory serviceFactory)
 {
     _queryService = serviceFactory.CreateGrpcService <IQueryService>();
 }