internal GrpcServiceBinder(IEndpointRouteBuilder builder, IGrpcMethodModelFactory <TService> serviceModelFactory, ServerCallHandlerFactory <TService> serverCallHandlerFactory, ServiceMethodsRegistry serviceMethodsRegistry)
 {
     _builder = builder;
     _serviceMethodsRegistry   = serviceMethodsRegistry;
     _serverCallHandlerFactory = serverCallHandlerFactory;
     _serviceModelFactory      = serviceModelFactory;
 }
Esempio n. 2
0
 internal GrpcServiceBinder(
     IEndpointRouteBuilder builder,
     IGrpcMethodModelFactory <TService> serviceModelFactory,
     ServerCallHandlerFactory <TService> serverCallHandlerFactory,
     ServiceMethodsRegistry serviceMethodsRegistry,
     ILoggerFactory loggerFactory)
 {
     _builder = builder;
     _serviceMethodsRegistry = serviceMethodsRegistry;
     _logger = loggerFactory.CreateLogger(GetType());
     _serverCallHandlerFactory = serverCallHandlerFactory;
     _serviceModelFactory      = serviceModelFactory;
 }