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