3 instantiations of BodyDescriptorInfo
Microsoft.AspNetCore.Grpc.JsonTranscoding (3)
src\Grpc\JsonTranscoding\src\Shared\ServiceDescriptorHelpers.cs (3)
431
return new
BodyDescriptorInfo
(bodyDescriptor.ContainingType, bodyDescriptor, isDescriptorRepeated: true, propertyInfo);
435
return new
BodyDescriptorInfo
(bodyDescriptor.MessageType, bodyDescriptor, isDescriptorRepeated: false, propertyInfo);
447
return new
BodyDescriptorInfo
(methodDescriptor.InputType, fieldDescriptor: null, isDescriptorRepeated: false, parameterInfo: requestParameter);
2 references to BodyDescriptorInfo
Microsoft.AspNetCore.Grpc.JsonTranscoding (2)
Internal\Binding\JsonTranscodingProviderServiceBinder.cs (1)
241
var
bodyDescriptor = ServiceDescriptorHelpers.ResolveBodyDescriptor(body, typeof(TService), methodDescriptor);
src\Grpc\JsonTranscoding\src\Shared\ServiceDescriptorHelpers.cs (1)
408
public static
BodyDescriptorInfo
? ResolveBodyDescriptor(string body, Type serviceType, MethodDescriptor methodDescriptor)