Show / Hide Table of Contents

    Class GrpcMethodMetadata

    Metadata for a gRPC method endpoint.

    Inheritance
    System.Object
    GrpcMethodMetadata
    Namespace: Grpc.AspNetCore.Server
    Assembly: Grpc.AspNetCore.Server.dll
    Syntax
    public sealed class GrpcMethodMetadata : object

    Constructors

    GrpcMethodMetadata(Type, IMethod)

    Creates a new instance of GrpcMethodMetadata with the provided service type and method.

    Declaration
    public GrpcMethodMetadata(Type serviceType, IMethod method)
    Parameters
    Type Name Description
    Type serviceType

    The implementing service type.

    IMethod method

    The method representation.

    Properties

    Method

    Gets the method representation.

    Declaration
    public IMethod Method { get; }
    Property Value
    Type Description
    IMethod

    ServiceType

    Gets the implementing service type.

    Declaration
    public Type ServiceType { get; }
    Property Value
    Type Description
    Type
    Back to top Generated by DocFX