API Reference
AgentWorkJsonContext
Generated JSON contract for reflection-free snapshot exchange, including Native AOT consumers.
Inheritance
- JsonSerializerContext
- AgentWorkJsonContext
Usage
Explore 1 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 1
- Property AgentWorkJsonContext.Default
Constructors
Methods
public override JsonTypeInfo? GetTypeInfo(Type type) #JsonTypeInfo?Gets metadata for the specified type.
Parameters
- type System.Type
- The type to fetch metadata for.
Returns
The metadata for the specified type, or null if the context has no metadata for the type.
Inherited Methods
public virtual Boolean Equals(Object? obj) #BooleanParameters
- obj Object?
Properties
public JsonTypeInfo<Boolean> Boolean { get; } #Defines the source generated JSON serialization contract metadata for a given type.
public JsonTypeInfo<Boolean?> NullableBoolean { get; } #Defines the source generated JSON serialization contract metadata for a given type.
public JsonTypeInfo<AgentAttentionItem> AgentAttentionItem { get; } #Defines the source generated JSON serialization contract metadata for a given type.
public JsonTypeInfo<AgentAttentionKind> AgentAttentionKind { get; } #Defines the source generated JSON serialization contract metadata for a given type.
public JsonTypeInfo<AgentCheckState> AgentCheckState { get; } #Defines the source generated JSON serialization contract metadata for a given type.
public JsonTypeInfo<AgentFailureCause> AgentFailureCause { get; } #Defines the source generated JSON serialization contract metadata for a given type.
public JsonTypeInfo<AgentFailureEvidence> AgentFailureEvidence { get; } #Defines the source generated JSON serialization contract metadata for a given type.
public JsonTypeInfo<AgentInputKind> AgentInputKind { get; } #Defines the source generated JSON serialization contract metadata for a given type.
public JsonTypeInfo<AgentInputResolution> AgentInputResolution { get; } #Defines the source generated JSON serialization contract metadata for a given type.
public JsonTypeInfo<AgentMessageObservation> AgentMessageObservation { get; } #Defines the source generated JSON serialization contract metadata for a given type.
public JsonTypeInfo<AgentObservationSources> AgentObservationSources { get; } #Defines the source generated JSON serialization contract metadata for a given type.
public JsonTypeInfo<AgentPendingInput> AgentPendingInput { get; } #Defines the source generated JSON serialization contract metadata for a given type.
public JsonTypeInfo<AgentPullRequestState> AgentPullRequestState { get; } #Defines the source generated JSON serialization contract metadata for a given type.
public JsonTypeInfo<AgentSessionState> AgentSessionState { get; } #Defines the source generated JSON serialization contract metadata for a given type.
public JsonTypeInfo<AgentSourceDiagnostic> AgentSourceDiagnostic { get; } #Defines the source generated JSON serialization contract metadata for a given type.
public JsonTypeInfo<AgentTurnOutcome> AgentTurnOutcome { get; } #Defines the source generated JSON serialization contract metadata for a given type.
public JsonTypeInfo<AgentWorkScanStatistics> AgentWorkScanStatistics { get; } #Defines the source generated JSON serialization contract metadata for a given type.
public JsonTypeInfo<AgentWorkSnapshot> AgentWorkSnapshot { get; } #Defines the source generated JSON serialization contract metadata for a given type.
public JsonTypeInfo<AgentWorkState> AgentWorkState { get; } #Defines the source generated JSON serialization contract metadata for a given type.
public JsonTypeInfo<IReadOnlyList<AgentAttentionItem>> IReadOnlyListAgentAttentionItem { get; } #Defines the source generated JSON serialization contract metadata for a given type.
public JsonTypeInfo<IReadOnlyList<AgentInputResolution>> IReadOnlyListAgentInputResolution { get; } #Defines the source generated JSON serialization contract metadata for a given type.
public JsonTypeInfo<IReadOnlyList<AgentMessageObservation>> IReadOnlyListAgentMessageObservation { get; } #Defines the source generated JSON serialization contract metadata for a given type.
public JsonTypeInfo<IReadOnlyList<AgentPendingInput>> IReadOnlyListAgentPendingInput { get; } #Defines the source generated JSON serialization contract metadata for a given type.
public JsonTypeInfo<IReadOnlyList<AgentPullRequestState>> IReadOnlyListAgentPullRequestState { get; } #Defines the source generated JSON serialization contract metadata for a given type.
public JsonTypeInfo<IReadOnlyList<AgentSessionState>> IReadOnlyListAgentSessionState { get; } #Defines the source generated JSON serialization contract metadata for a given type.
public JsonTypeInfo<IReadOnlyList<AgentSourceDiagnostic>> IReadOnlyListAgentSourceDiagnostic { get; } #Defines the source generated JSON serialization contract metadata for a given type.
public JsonTypeInfo<IReadOnlyList<String>> IReadOnlyListString { get; } #Defines the source generated JSON serialization contract metadata for a given type.
public JsonTypeInfo<DateTimeOffset> DateTimeOffset { get; } #Defines the source generated JSON serialization contract metadata for a given type.
public JsonTypeInfo<DateTimeOffset?> NullableDateTimeOffset { get; } #Defines the source generated JSON serialization contract metadata for a given type.
public JsonTypeInfo<Guid> Guid { get; } #Defines the source generated JSON serialization contract metadata for a given type.
public JsonTypeInfo<Guid?> NullableGuid { get; } #Defines the source generated JSON serialization contract metadata for a given type.
public JsonTypeInfo<Int32> Int32 { get; } #Defines the source generated JSON serialization contract metadata for a given type.
public JsonTypeInfo<Int64> Int64 { get; } #Defines the source generated JSON serialization contract metadata for a given type.
public JsonTypeInfo<String> String { get; } #Defines the source generated JSON serialization contract metadata for a given type.
public static AgentWorkJsonContext Default { get; } #The default JsonSerializerContext associated with a default JsonSerializerOptions instance.
Inherited Properties
public JsonSerializerOptions Options { get; } #