| File: Internal\Json\JsonContext.cs | Web Access |
| Project: src\aspnetcore\src\Grpc\JsonTranscoding\src\Microsoft.AspNetCore.Grpc.JsonTranscoding\Microsoft.AspNetCore.Grpc.JsonTranscoding.csproj (Microsoft.AspNetCore.Grpc.JsonTranscoding) |
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using Google.Protobuf.Reflection; using Grpc.Shared; namespace Microsoft.AspNetCore.Grpc.JsonTranscoding.Internal.Json; internal sealed class JsonContext { public JsonContext(GrpcJsonSettings settings, TypeRegistry typeRegistry, DescriptorRegistry descriptorRegistry) { Settings = settings; TypeRegistry = typeRegistry; DescriptorRegistry = descriptorRegistry; } public GrpcJsonSettings Settings { get; } public TypeRegistry TypeRegistry { get; } public DescriptorRegistry DescriptorRegistry { get; } }