2 instantiations of OtelToolCallRequestPart
Microsoft.Extensions.AI (2)
Common\OtelMessageSerializer.cs (1)
78
m.Parts.Add(new
OtelToolCallRequestPart
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\OtelContext.OtelToolCallRequestPart.g.cs (1)
31
ObjectCreator = () => new global::Microsoft.Extensions.AI.
OtelToolCallRequestPart
(),
33 references to OtelToolCallRequestPart
Microsoft.Extensions.AI (33)
Common\OtelContext.cs (1)
29
[JsonSerializable(typeof(
OtelToolCallRequestPart
))]
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\OtelContext.GetJsonTypeInfo.g.cs (1)
110
if (type == typeof(global::Microsoft.Extensions.AI.
OtelToolCallRequestPart
))
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\OtelContext.OtelToolCallRequestPart.g.cs (31)
13
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.
OtelToolCallRequestPart
>? _OtelToolCallRequestPart;
19
public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.
OtelToolCallRequestPart
> OtelToolCallRequestPart
22
get => _OtelToolCallRequestPart ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.
OtelToolCallRequestPart
>)Options.GetTypeInfo(typeof(global::Microsoft.Extensions.AI.
OtelToolCallRequestPart
));
25
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.
OtelToolCallRequestPart
> Create_OtelToolCallRequestPart(global::System.Text.Json.JsonSerializerOptions options)
27
if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.Extensions.AI.
OtelToolCallRequestPart
>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.
OtelToolCallRequestPart
> jsonTypeInfo))
29
var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.Extensions.AI.
OtelToolCallRequestPart
>
35
ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.
OtelToolCallRequestPart
).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null),
39
jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.Extensions.AI.
OtelToolCallRequestPart
>(options, objectInfo);
56
DeclaringType = typeof(global::Microsoft.Extensions.AI.
OtelToolCallRequestPart
),
58
Getter = static obj => ((global::Microsoft.Extensions.AI.
OtelToolCallRequestPart
)obj).Type,
59
Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.
OtelToolCallRequestPart
)obj).Type = value!,
66
AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.
OtelToolCallRequestPart
).GetProperty("Type", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
78
DeclaringType = typeof(global::Microsoft.Extensions.AI.
OtelToolCallRequestPart
),
80
Getter = static obj => ((global::Microsoft.Extensions.AI.
OtelToolCallRequestPart
)obj).Id,
81
Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.
OtelToolCallRequestPart
)obj).Id = value!,
88
AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.
OtelToolCallRequestPart
).GetProperty("Id", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
98
DeclaringType = typeof(global::Microsoft.Extensions.AI.
OtelToolCallRequestPart
),
100
Getter = static obj => ((global::Microsoft.Extensions.AI.
OtelToolCallRequestPart
)obj).Name,
101
Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.
OtelToolCallRequestPart
)obj).Name = value!,
108
AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.
OtelToolCallRequestPart
).GetProperty("Name", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
118
DeclaringType = typeof(global::Microsoft.Extensions.AI.
OtelToolCallRequestPart
),
120
Getter = static obj => ((global::Microsoft.Extensions.AI.
OtelToolCallRequestPart
)obj).Arguments,
121
Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.
OtelToolCallRequestPart
)obj).Arguments = value!,
128
AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.
OtelToolCallRequestPart
).GetProperty("Arguments", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.IDictionary<string, object>), global::System.Array.Empty<global::System.Type>(), null),
138
private void OtelToolCallRequestPartSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.Extensions.AI.
OtelToolCallRequestPart
? value)
148
string __value_Type = ((global::Microsoft.Extensions.AI.
OtelToolCallRequestPart
)value).Type;
153
string __value_Id = ((global::Microsoft.Extensions.AI.
OtelToolCallRequestPart
)value).Id;
158
string __value_Name = ((global::Microsoft.Extensions.AI.
OtelToolCallRequestPart
)value).Name;
163
global::System.Collections.Generic.IDictionary<string, object> __value_Arguments = ((global::Microsoft.Extensions.AI.
OtelToolCallRequestPart
)value).Arguments;