Class ServiceCollectionExtensions

Namespace: redb.Route.Grpc
Assembly: redb.Route.Grpc.dll

Extension methods for registering the gRPC component with dependency injection.

public static class ServiceCollectionExtensions

Inheritance

Object→ServiceCollectionExtensions

Methods

AddRedbRouteGrpc(IServiceCollection)

Registers the gRPC component with the route context.

public static IServiceCollection AddRedbRouteGrpc(this IServiceCollection services)