GrpcJsonTranscodingMetadata(MethodDescriptor, HttpRule) 构造函数

定义

public GrpcJsonTranscodingMetadata(Google.Protobuf.Reflection.MethodDescriptor methodDescriptor, Google.Api.HttpRule httpRule);
new Microsoft.AspNetCore.Grpc.JsonTranscoding.GrpcJsonTranscodingMetadata : Google.Protobuf.Reflection.MethodDescriptor * Google.Api.HttpRule -> Microsoft.AspNetCore.Grpc.JsonTranscoding.GrpcJsonTranscodingMetadata
Public Sub New (methodDescriptor As MethodDescriptor, httpRule As HttpRule)

参数

methodDescriptor
Google.Protobuf.Reflection.MethodDescriptor
httpRule
Google.Api.HttpRule

适用于