7 references to MessageDescriptorHelpers
Microsoft.AspNetCore.Grpc.Swagger (7)
Internal\GrpcDataContractResolver.cs (2)
57
dataContract = _innerContractResolver.GetDataContractForType(
MessageDescriptorHelpers
.ResolveFieldType(field));
108
var fieldType =
MessageDescriptorHelpers
.ResolveFieldType(field);
Internal\GrpcJsonTranscodingDescriptionProvider.cs (5)
79
var responseType = responseBodyDescriptor != null ?
MessageDescriptorHelpers
.ResolveFieldType(responseBodyDescriptor) : methodDescriptor.OutputType.ClrType;
112
? ModelMetadataIdentity.ForProperty(propertyInfo,
MessageDescriptorHelpers
.ResolveFieldType(field), field.ContainingType.ClrType)
113
: ModelMetadataIdentity.ForType(
MessageDescriptorHelpers
.ResolveFieldType(field));
154
? ModelMetadataIdentity.ForProperty(propertyInfo,
MessageDescriptorHelpers
.ResolveFieldType(field), field.ContainingType.ClrType)
155
: ModelMetadataIdentity.ForType(
MessageDescriptorHelpers
.ResolveFieldType(field));