8 implementations of GetTypeInfo
Microsoft.AspNetCore.Components.Web (1)
src\Components\Shared\src\JsonSerialization\JsonConverterFactoryTypeInfoResolver.cs (1)
21public JsonTypeInfo? GetTypeInfo(Type type, JsonSerializerOptions options)
Microsoft.AspNetCore.Grpc.JsonTranscoding (1)
Internal\Json\MessageTypeInfoResolver.cs (1)
26public JsonTypeInfo? GetTypeInfo(Type type, JsonSerializerOptions options)
Microsoft.AspNetCore.Http.Extensions.Tests (1)
ProblemDetailsServiceCollectionExtensionsTest.cs (1)
253public JsonTypeInfo GetTypeInfo(Type type, JsonSerializerOptions options)
System.Text.Json (5)
System\Text\Json\Serialization\JsonSerializerContext.cs (1)
110JsonTypeInfo? IJsonTypeInfoResolver.GetTypeInfo(Type type, JsonSerializerOptions options)
System\Text\Json\Serialization\Metadata\DefaultJsonTypeInfoResolver.cs (1)
51public virtual JsonTypeInfo GetTypeInfo(Type type, JsonSerializerOptions options)
System\Text\Json\Serialization\Metadata\JsonTypeInfoResolver.cs (1)
105public JsonTypeInfo? GetTypeInfo(Type type, JsonSerializerOptions options) => null;
System\Text\Json\Serialization\Metadata\JsonTypeInfoResolverChain.cs (1)
13public JsonTypeInfo? GetTypeInfo(Type type, JsonSerializerOptions options)
System\Text\Json\Serialization\Metadata\JsonTypeInfoResolverWithAddedModifiers.cs (1)
29public JsonTypeInfo? GetTypeInfo(Type type, JsonSerializerOptions options)
10 references to GetTypeInfo
Microsoft.AspNetCore.Http.Extensions.Tests (7)
ProblemDetailsServiceCollectionExtensionsTest.cs (7)
102Assert.NotNull(jsonOptions.Value.SerializerOptions.TypeInfoResolver.GetTypeInfo(typeof(ProblemDetails), jsonOptions.Value.SerializerOptions)); 103Assert.NotNull(jsonOptions.Value.SerializerOptions.TypeInfoResolver.GetTypeInfo(typeof(TypeA), jsonOptions.Value.SerializerOptions)); 167Assert.NotNull(jsonOptions.Value.SerializerOptions.TypeInfoResolver.GetTypeInfo(typeof(ProblemDetails), jsonOptions.Value.SerializerOptions)); 168Assert.NotNull(jsonOptions.Value.SerializerOptions.TypeInfoResolver.GetTypeInfo(typeof(TypeA), jsonOptions.Value.SerializerOptions)); 188Assert.NotNull(jsonOptions.Value.SerializerOptions.TypeInfoResolver.GetTypeInfo(typeof(ProblemDetails), jsonOptions.Value.SerializerOptions)); 209Assert.NotNull(jsonOptions.Value.SerializerOptions.TypeInfoResolver.GetTypeInfo(typeof(ProblemDetails), jsonOptions.Value.SerializerOptions)); 210Assert.NotNull(jsonOptions.Value.SerializerOptions.TypeInfoResolver.GetTypeInfo(typeof(TypeA), jsonOptions.Value.SerializerOptions));
System.Text.Json (3)
System\Text\Json\Serialization\JsonSerializerOptions.cs (1)
992JsonTypeInfo? info = resolver.GetTypeInfo(type, this);
System\Text\Json\Serialization\Metadata\JsonTypeInfoResolverChain.cs (1)
17JsonTypeInfo? typeInfo = resolver.GetTypeInfo(type, options);
System\Text\Json\Serialization\Metadata\JsonTypeInfoResolverWithAddedModifiers.cs (1)
31JsonTypeInfo? typeInfo = _source.GetTypeInfo(type, options);