1 instantiation of ChoiceEvent
Aspire.Dashboard (1)
GenAIEventsContext.ChoiceEvent.g.cs (1)
29ObjectCreator = () => new global::Aspire.Dashboard.Model.GenAI.ChoiceEvent(),
25 references to ChoiceEvent
Aspire.Dashboard (25)
GenAIEventsContext.ChoiceEvent.g.cs (22)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Dashboard.Model.GenAI.ChoiceEvent>? _ChoiceEvent; 18public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Dashboard.Model.GenAI.ChoiceEvent> ChoiceEvent 20get => _ChoiceEvent ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Dashboard.Model.GenAI.ChoiceEvent>)Options.GetTypeInfo(typeof(global::Aspire.Dashboard.Model.GenAI.ChoiceEvent)); 23private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Dashboard.Model.GenAI.ChoiceEvent> Create_ChoiceEvent(global::System.Text.Json.JsonSerializerOptions options) 25if (!TryGetTypeInfoForRuntimeCustomConverter<global::Aspire.Dashboard.Model.GenAI.ChoiceEvent>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Dashboard.Model.GenAI.ChoiceEvent> jsonTypeInfo)) 27var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Aspire.Dashboard.Model.GenAI.ChoiceEvent> 36jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Aspire.Dashboard.Model.GenAI.ChoiceEvent>(options, objectInfo); 53DeclaringType = typeof(global::Aspire.Dashboard.Model.GenAI.ChoiceEvent), 55Getter = static obj => ((global::Aspire.Dashboard.Model.GenAI.ChoiceEvent)obj).FinishReason, 56Setter = static (obj, value) => ((global::Aspire.Dashboard.Model.GenAI.ChoiceEvent)obj).FinishReason = value!, 72DeclaringType = typeof(global::Aspire.Dashboard.Model.GenAI.ChoiceEvent), 74Getter = static obj => ((global::Aspire.Dashboard.Model.GenAI.ChoiceEvent)obj).Index, 75Setter = static (obj, value) => ((global::Aspire.Dashboard.Model.GenAI.ChoiceEvent)obj).Index = value!, 91DeclaringType = typeof(global::Aspire.Dashboard.Model.GenAI.ChoiceEvent), 93Getter = static obj => ((global::Aspire.Dashboard.Model.GenAI.ChoiceEvent)obj).Message, 94Setter = static (obj, value) => ((global::Aspire.Dashboard.Model.GenAI.ChoiceEvent)obj).Message = value!, 110private void ChoiceEventSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Aspire.Dashboard.Model.GenAI.ChoiceEvent? value) 120string __value_FinishReason = ((global::Aspire.Dashboard.Model.GenAI.ChoiceEvent)value).FinishReason; 125writer.WriteNumber(PropName_index, ((global::Aspire.Dashboard.Model.GenAI.ChoiceEvent)value).Index); 126global::Aspire.Dashboard.Model.GenAI.AssistantEvent __value_Message = ((global::Aspire.Dashboard.Model.GenAI.ChoiceEvent)value).Message;
GenAIEventsContext.GetJsonTypeInfo.g.cs (1)
26if (type == typeof(global::Aspire.Dashboard.Model.GenAI.ChoiceEvent))
Model\GenAI\GenAIEvents.cs (1)
51[JsonSerializable(typeof(ChoiceEvent))]
Model\GenAI\GenAIVisualizerDialogViewModel.cs (1)
291var choiceEvent = DeserializeEventJson(message, GenAIEventsContext.Default.ChoiceEvent)!;