Class GrpcServiceEndpointConventionBuilder
Builds conventions that will be used for customization of gRPC service
Inheritance
IEndpointConventionBuilder
GrpcServiceEndpointConventionBuilder
Namespace: Microsoft.AspNetCore.Builder
Assembly: Grpc.AspNetCore.Server.dll
Syntax
public sealed class GrpcServiceEndpointConventionBuilder : IEndpointConventionBuilder
Methods
Add(Action<EndpointBuilder>)
Adds the specified convention to the builder. Conventions are used to customize
Declaration
public void Add(Action<EndpointBuilder> convention)
Parameters
Type | Name | Description |
---|---|---|
Action<EndpointBuilder> | convention | The convention to add to the builder. |