1 instantiation of ToolEvent
Aspire.Dashboard (1)
GenAIEventsContext.ToolEvent.g.cs (1)
31
ObjectCreator = () => new global::Aspire.Dashboard.Model.GenAI.
ToolEvent
(),
24 references to ToolEvent
Aspire.Dashboard (24)
GenAIEventsContext.GetJsonTypeInfo.g.cs (1)
46
if (type == typeof(global::Aspire.Dashboard.Model.GenAI.
ToolEvent
))
GenAIEventsContext.ToolEvent.g.cs (21)
13
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Dashboard.Model.GenAI.
ToolEvent
>? _ToolEvent;
19
public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Dashboard.Model.GenAI.
ToolEvent
> ToolEvent
22
get => _ToolEvent ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Dashboard.Model.GenAI.
ToolEvent
>)Options.GetTypeInfo(typeof(global::Aspire.Dashboard.Model.GenAI.
ToolEvent
));
25
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Dashboard.Model.GenAI.
ToolEvent
> Create_ToolEvent(global::System.Text.Json.JsonSerializerOptions options)
27
if (!TryGetTypeInfoForRuntimeCustomConverter<global::Aspire.Dashboard.Model.GenAI.
ToolEvent
>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Dashboard.Model.GenAI.
ToolEvent
> jsonTypeInfo))
29
var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Aspire.Dashboard.Model.GenAI.
ToolEvent
>
35
ConstructorAttributeProviderFactory = static () => typeof(global::Aspire.Dashboard.Model.GenAI.
ToolEvent
).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null),
39
jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Aspire.Dashboard.Model.GenAI.
ToolEvent
>(options, objectInfo);
56
DeclaringType = typeof(global::Aspire.Dashboard.Model.GenAI.
ToolEvent
),
58
Getter = static obj => ((global::Aspire.Dashboard.Model.GenAI.
ToolEvent
)obj).Id,
59
Setter = static (obj, value) => ((global::Aspire.Dashboard.Model.GenAI.
ToolEvent
)obj).Id = value!,
66
AttributeProviderFactory = static () => typeof(global::Aspire.Dashboard.Model.GenAI.
ToolEvent
).GetProperty("Id", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
76
DeclaringType = typeof(global::Aspire.Dashboard.Model.GenAI.
ToolEvent
),
78
Getter = static obj => ((global::Aspire.Dashboard.Model.GenAI.
ToolEvent
)obj).Content,
79
Setter = static (obj, value) => ((global::Aspire.Dashboard.Model.GenAI.
ToolEvent
)obj).Content = value!,
86
AttributeProviderFactory = static () => typeof(global::Aspire.Dashboard.Model.GenAI.
ToolEvent
).GetProperty("Content", InstanceMemberBindingFlags, null, typeof(global::System.Text.Json.Nodes.JsonNode), global::System.Array.Empty<global::System.Type>(), null),
96
private void ToolEventSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Aspire.Dashboard.Model.GenAI.
ToolEvent
? value)
106
string __value_Id = ((global::Aspire.Dashboard.Model.GenAI.
ToolEvent
)value).Id;
111
global::System.Text.Json.Nodes.JsonNode __value_Content = ((global::Aspire.Dashboard.Model.GenAI.
ToolEvent
)value).Content;
Model\GenAI\GenAIEvents.cs (1)
50
[JsonSerializable(typeof(
ToolEvent
))]
Model\GenAI\GenAIVisualizerDialogViewModel.cs (1)
455
var
toolEvent = DeserializeEventJson(message, GenAIEventsContext.Default.ToolEvent)!;