Show / Hide Table of Contents

    Class GrpcServiceEndpointConventionBuilder

    Builds conventions that will be used for customization of gRPC service instances.

    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 instances.

    Declaration
    public void Add(Action<EndpointBuilder> convention)
    Parameters
    Type Name Description
    Action<EndpointBuilder> convention

    The convention to add to the builder.

    Back to top Generated by DocFX