-
-
Notifications
You must be signed in to change notification settings - Fork 0
localizationsharedjson LStringJsonGenerationContext
Denis Akopyan edited this page Jul 10, 2025
·
1 revision
flowchart LR
classDef interfaceStyle stroke-dasharray: 5 5;
classDef abstractStyle stroke-width:4px
subgraph Localization.Shared.JSON
Localization.Shared.JSON.LStringJsonGenerationContext[[LStringJsonGenerationContext]]
end
subgraph System.Text.Json.Serialization.Metadata
System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver[[IJsonTypeInfoResolver]]
end
subgraph System.Text.Json.Serialization
System.Text.Json.Serialization.JsonSerializerContext[[JsonSerializerContext]]
end
System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver --> Localization.Shared.JSON.LStringJsonGenerationContext
System.Text.Json.Serialization.JsonSerializerContext --> Localization.Shared.JSON.LStringJsonGenerationContext
| Type | Name | Methods |
|---|---|---|
JsonTypeInfo<LString> |
LStringDefines the source generated JSON serialization contract metadata for a given type. |
get |
| Type | Name | Methods |
|---|---|---|
JsonSerializerOptions |
GeneratedSerializerOptionsThe source-generated options associated with this context. |
get |
| Type | Name | Methods |
|---|---|---|
LStringJsonGenerationContext |
DefaultThe default JsonSerializerContext associated with a default JsonSerializerOptions instance. |
get |
| Returns | Name |
|---|---|
JsonTypeInfo |
GetTypeInfo(Type type) |
IJsonTypeInfoResolverJsonSerializerContext
public LStringJsonGenerationContext()public LStringJsonGenerationContext(JsonSerializerOptions options)| Type | Name | Description |
|---|---|---|
JsonSerializerOptions |
options |
public override JsonTypeInfo GetTypeInfo(Type type)| Type | Name | Description |
|---|---|---|
Type |
type |
public JsonTypeInfo<LString> LString { get; }Defines the source generated JSON serialization contract metadata for a given type.
public static LStringJsonGenerationContext Default { get; }The default JsonSerializerContext associated with a default JsonSerializerOptions instance.
protected override JsonSerializerOptions GeneratedSerializerOptions { get; }The source-generated options associated with this context.
Generated with ModularDoc