1 instantiation of ToolCall
Aspire.Dashboard (1)
GenAIEventsContext.ToolCall.g.cs (1)
29ObjectCreator = () => new global::Aspire.Dashboard.Model.GenAI.ToolCall(),
38 references to ToolCall
Aspire.Dashboard (38)
GenAIEventsContext.AssistantEvent.g.cs (3)
67var info1 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::Aspire.Dashboard.Model.GenAI.ToolCall[]> 84properties[1] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::Aspire.Dashboard.Model.GenAI.ToolCall[]>(options, info1); 106global::Aspire.Dashboard.Model.GenAI.ToolCall[] __value_ToolCalls = ((global::Aspire.Dashboard.Model.GenAI.AssistantEvent)value).ToolCalls;
GenAIEventsContext.GetJsonTypeInfo.g.cs (2)
34if (type == typeof(global::Aspire.Dashboard.Model.GenAI.ToolCall)) 38if (type == typeof(global::Aspire.Dashboard.Model.GenAI.ToolCall[]))
GenAIEventsContext.ToolCall.g.cs (22)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Dashboard.Model.GenAI.ToolCall>? _ToolCall; 18public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Dashboard.Model.GenAI.ToolCall> ToolCall 20get => _ToolCall ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Dashboard.Model.GenAI.ToolCall>)Options.GetTypeInfo(typeof(global::Aspire.Dashboard.Model.GenAI.ToolCall)); 23private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Dashboard.Model.GenAI.ToolCall> Create_ToolCall(global::System.Text.Json.JsonSerializerOptions options) 25if (!TryGetTypeInfoForRuntimeCustomConverter<global::Aspire.Dashboard.Model.GenAI.ToolCall>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Dashboard.Model.GenAI.ToolCall> jsonTypeInfo)) 27var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Aspire.Dashboard.Model.GenAI.ToolCall> 36jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Aspire.Dashboard.Model.GenAI.ToolCall>(options, objectInfo); 53DeclaringType = typeof(global::Aspire.Dashboard.Model.GenAI.ToolCall), 55Getter = static obj => ((global::Aspire.Dashboard.Model.GenAI.ToolCall)obj).Id, 56Setter = static (obj, value) => ((global::Aspire.Dashboard.Model.GenAI.ToolCall)obj).Id = value!, 72DeclaringType = typeof(global::Aspire.Dashboard.Model.GenAI.ToolCall), 74Getter = static obj => ((global::Aspire.Dashboard.Model.GenAI.ToolCall)obj).Type, 75Setter = static (obj, value) => ((global::Aspire.Dashboard.Model.GenAI.ToolCall)obj).Type = value!, 91DeclaringType = typeof(global::Aspire.Dashboard.Model.GenAI.ToolCall), 93Getter = static obj => ((global::Aspire.Dashboard.Model.GenAI.ToolCall)obj).Function, 94Setter = static (obj, value) => ((global::Aspire.Dashboard.Model.GenAI.ToolCall)obj).Function = value!, 110private void ToolCallSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Aspire.Dashboard.Model.GenAI.ToolCall? value) 120string __value_Id = ((global::Aspire.Dashboard.Model.GenAI.ToolCall)value).Id; 125string __value_Type = ((global::Aspire.Dashboard.Model.GenAI.ToolCall)value).Type; 130global::Aspire.Dashboard.Model.GenAI.ToolCallFunction __value_Function = ((global::Aspire.Dashboard.Model.GenAI.ToolCall)value).Function;
GenAIEventsContext.ToolCallArray.g.cs (10)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Dashboard.Model.GenAI.ToolCall[]>? _ToolCallArray; 18public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Dashboard.Model.GenAI.ToolCall[]> ToolCallArray 20get => _ToolCallArray ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Dashboard.Model.GenAI.ToolCall[]>)Options.GetTypeInfo(typeof(global::Aspire.Dashboard.Model.GenAI.ToolCall[])); 23private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Dashboard.Model.GenAI.ToolCall[]> Create_ToolCallArray(global::System.Text.Json.JsonSerializerOptions options) 25if (!TryGetTypeInfoForRuntimeCustomConverter<global::Aspire.Dashboard.Model.GenAI.ToolCall[]>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Dashboard.Model.GenAI.ToolCall[]> jsonTypeInfo)) 27var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::Aspire.Dashboard.Model.GenAI.ToolCall[]> 33jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateArrayInfo<global::Aspire.Dashboard.Model.GenAI.ToolCall>(options, info); 43private void ToolCallArraySerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Aspire.Dashboard.Model.GenAI.ToolCall[]? value)
Model\GenAI\GenAIEvents.cs (1)
18public ToolCall[]? ToolCalls { get; set; }