Class NotificationDetailContext
- Namespace
- MaaFramework.Binding.Notification
- Assembly
- MaaFramework.Binding.Extensions.dll
Provides metadata about a set of types that is relevant to JSON serialization.
[JsonSerializable(typeof(ResourceLoadingDetail))]
[JsonSerializable(typeof(ControllerActionDetail))]
[JsonSerializable(typeof(TaskerTaskDetail))]
[JsonSerializable(typeof(TaskNextListDetail))]
[JsonSerializable(typeof(TaskRecognitionDetail))]
[JsonSerializable(typeof(TaskActionDetail))]
public class NotificationDetailContext : JsonSerializerContext, IJsonTypeInfoResolver
Inheritance
Implements
Inherited Members
Constructors
- NotificationDetailContext()
- NotificationDetailContext(JsonSerializerOptions)
-
Creates an instance of System.Text.Json.Serialization.JsonSerializerContext and binds it with the indicated System.Text.Json.JsonSerializerOptions.
Properties
- ControllerActionDetail
-
Defines the source generated JSON serialization contract metadata for a given type.
- Default
-
The default System.Text.Json.Serialization.JsonSerializerContext associated with a default System.Text.Json.JsonSerializerOptions instance.
- GeneratedSerializerOptions
-
The source-generated options associated with this context.
- IReadOnlyListString
-
Defines the source generated JSON serialization contract metadata for a given type.
- Int32
-
Defines the source generated JSON serialization contract metadata for a given type.
- ResourceLoadingDetail
-
Defines the source generated JSON serialization contract metadata for a given type.
- String
-
Defines the source generated JSON serialization contract metadata for a given type.
- TaskActionDetail
-
Defines the source generated JSON serialization contract metadata for a given type.
- TaskNextListDetail
-
Defines the source generated JSON serialization contract metadata for a given type.
- TaskRecognitionDetail
-
Defines the source generated JSON serialization contract metadata for a given type.
- TaskerTaskDetail
-
Defines the source generated JSON serialization contract metadata for a given type.
- Type
-
Defines the source generated JSON serialization contract metadata for a given type.
Methods
- GetTypeInfo(Type)
-
Gets metadata for the specified type.