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; }
internal GrpcServiceBinder(IEndpointRouteBuilder builder, ServerCallHandlerFactory <TService> serverCallHandlerFactory) { _builder = builder; _serverCallHandlerFactory = serverCallHandlerFactory; }
internal GrpcServiceBinder(IEndpointRouteBuilder builder, ServerCallHandlerFactory <TService> serverCallHandlerFactory, IGrpcMethodInvokerFactory <TService> serviceInvoker) { _builder = builder; _serverCallHandlerFactory = serverCallHandlerFactory; _serviceInvokerFactory = serviceInvoker; }