Table of Contents

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(NodeNextListDetail))]
[JsonSerializable(typeof(NodeRecognitionDetail))]
[JsonSerializable(typeof(NodeActionDetail))]
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.

JsonElement

Defines the source generated JSON serialization contract metadata for a given type.

NodeActionDetail

Defines the source generated JSON serialization contract metadata for a given type.

NodeNextListDetail

Defines the source generated JSON serialization contract metadata for a given type.

NodeRecognitionDetail

Defines the source generated JSON serialization contract metadata for a given type.

NullableJsonElement

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.

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.