2 instantiations of OtelImageGenerationToolCallResponse
Microsoft.Extensions.AI (2)
Common\OtelMessageSerializer.cs (1)
169
ServerToolCallResponse = new
OtelImageGenerationToolCallResponse
Generated\361d1da7f942c932\OtelContext.OtelImageGenerationToolCallResponse.g.cs (1)
31
ObjectCreator = () => new global::Microsoft.Extensions.AI.
OtelImageGenerationToolCallResponse
(),
53 references to OtelImageGenerationToolCallResponse
Microsoft.Extensions.AI (53)
Common\OtelContext.cs (1)
33
[JsonSerializable(typeof(OtelServerToolCallResponsePart<
OtelImageGenerationToolCallResponse
>))]
Common\OtelMessageSerializer.cs (1)
166
m.Parts.Add(new OtelServerToolCallResponsePart<
OtelImageGenerationToolCallResponse
>
Generated\361d1da7f942c932\OtelContext.OtelImageGenerationToolCallResponse.g.cs (18)
13
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.
OtelImageGenerationToolCallResponse
>? _OtelImageGenerationToolCallResponse;
19
public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.
OtelImageGenerationToolCallResponse
> OtelImageGenerationToolCallResponse
22
get => _OtelImageGenerationToolCallResponse ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.
OtelImageGenerationToolCallResponse
>)Options.GetTypeInfo(typeof(global::Microsoft.Extensions.AI.
OtelImageGenerationToolCallResponse
));
25
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.
OtelImageGenerationToolCallResponse
> Create_OtelImageGenerationToolCallResponse(global::System.Text.Json.JsonSerializerOptions options)
27
if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.Extensions.AI.
OtelImageGenerationToolCallResponse
>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.
OtelImageGenerationToolCallResponse
> jsonTypeInfo))
29
var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.Extensions.AI.
OtelImageGenerationToolCallResponse
>
35
ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.
OtelImageGenerationToolCallResponse
).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.
OtelImageGenerationToolCallResponse
>(options, objectInfo);
56
DeclaringType = typeof(global::Microsoft.Extensions.AI.
OtelImageGenerationToolCallResponse
),
58
Getter = static obj => ((global::Microsoft.Extensions.AI.
OtelImageGenerationToolCallResponse
)obj).Type,
59
Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.
OtelImageGenerationToolCallResponse
)obj).Type = value!,
66
AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.
OtelImageGenerationToolCallResponse
).GetProperty("Type", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
78
DeclaringType = typeof(global::Microsoft.Extensions.AI.
OtelImageGenerationToolCallResponse
),
80
Getter = static obj => ((global::Microsoft.Extensions.AI.
OtelImageGenerationToolCallResponse
)obj).Output,
81
Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.
OtelImageGenerationToolCallResponse
)obj).Output = value!,
88
AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.
OtelImageGenerationToolCallResponse
).GetProperty("Output", InstanceMemberBindingFlags, null, typeof(object), global::System.Array.Empty<global::System.Type>(), null),
Generated\361d1da7f942c932\OtelContext.OtelServerToolCallResponsePartOtelImageGenerationToolCallResponse.g.cs (31)
13
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.OtelServerToolCallResponsePart<global::Microsoft.Extensions.AI.
OtelImageGenerationToolCallResponse
>>? _OtelServerToolCallResponsePartOtelImageGenerationToolCallResponse;
19
public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.OtelServerToolCallResponsePart<global::Microsoft.Extensions.AI.
OtelImageGenerationToolCallResponse
>> OtelServerToolCallResponsePartOtelImageGenerationToolCallResponse
22
get => _OtelServerToolCallResponsePartOtelImageGenerationToolCallResponse ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.OtelServerToolCallResponsePart<global::Microsoft.Extensions.AI.
OtelImageGenerationToolCallResponse
>>)Options.GetTypeInfo(typeof(global::Microsoft.Extensions.AI.OtelServerToolCallResponsePart<global::Microsoft.Extensions.AI.
OtelImageGenerationToolCallResponse
>));
25
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.OtelServerToolCallResponsePart<global::Microsoft.Extensions.AI.
OtelImageGenerationToolCallResponse
>> Create_OtelServerToolCallResponsePartOtelImageGenerationToolCallResponse(global::System.Text.Json.JsonSerializerOptions options)
27
if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.Extensions.AI.OtelServerToolCallResponsePart<global::Microsoft.Extensions.AI.
OtelImageGenerationToolCallResponse
>>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.OtelServerToolCallResponsePart<global::Microsoft.Extensions.AI.
OtelImageGenerationToolCallResponse
>> jsonTypeInfo))
29
var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.Extensions.AI.OtelServerToolCallResponsePart<global::Microsoft.Extensions.AI.
OtelImageGenerationToolCallResponse
>>
31
ObjectCreator = () => new global::Microsoft.Extensions.AI.OtelServerToolCallResponsePart<global::Microsoft.Extensions.AI.
OtelImageGenerationToolCallResponse
>(),
35
ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.OtelServerToolCallResponsePart<global::Microsoft.Extensions.AI.
OtelImageGenerationToolCallResponse
>).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.OtelServerToolCallResponsePart<global::Microsoft.Extensions.AI.
OtelImageGenerationToolCallResponse
>>(options, objectInfo);
56
DeclaringType = typeof(global::Microsoft.Extensions.AI.OtelServerToolCallResponsePart<global::Microsoft.Extensions.AI.
OtelImageGenerationToolCallResponse
>),
58
Getter = static obj => ((global::Microsoft.Extensions.AI.OtelServerToolCallResponsePart<global::Microsoft.Extensions.AI.
OtelImageGenerationToolCallResponse
>)obj).Type,
59
Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.OtelServerToolCallResponsePart<global::Microsoft.Extensions.AI.
OtelImageGenerationToolCallResponse
>)obj).Type = value!,
66
AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.OtelServerToolCallResponsePart<global::Microsoft.Extensions.AI.
OtelImageGenerationToolCallResponse
>).GetProperty("Type", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
78
DeclaringType = typeof(global::Microsoft.Extensions.AI.OtelServerToolCallResponsePart<global::Microsoft.Extensions.AI.
OtelImageGenerationToolCallResponse
>),
80
Getter = static obj => ((global::Microsoft.Extensions.AI.OtelServerToolCallResponsePart<global::Microsoft.Extensions.AI.
OtelImageGenerationToolCallResponse
>)obj).Id,
81
Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.OtelServerToolCallResponsePart<global::Microsoft.Extensions.AI.
OtelImageGenerationToolCallResponse
>)obj).Id = value!,
88
AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.OtelServerToolCallResponsePart<global::Microsoft.Extensions.AI.
OtelImageGenerationToolCallResponse
>).GetProperty("Id", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
93
var info2 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::Microsoft.Extensions.AI.
OtelImageGenerationToolCallResponse
>
98
DeclaringType = typeof(global::Microsoft.Extensions.AI.OtelServerToolCallResponsePart<global::Microsoft.Extensions.AI.
OtelImageGenerationToolCallResponse
>),
100
Getter = static obj => ((global::Microsoft.Extensions.AI.OtelServerToolCallResponsePart<global::Microsoft.Extensions.AI.
OtelImageGenerationToolCallResponse
>)obj).ServerToolCallResponse,
101
Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.OtelServerToolCallResponsePart<global::Microsoft.Extensions.AI.
OtelImageGenerationToolCallResponse
>)obj).ServerToolCallResponse = value!,
108
AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.OtelServerToolCallResponsePart<global::Microsoft.Extensions.AI.
OtelImageGenerationToolCallResponse
>).GetProperty("ServerToolCallResponse", InstanceMemberBindingFlags, null, typeof(global::Microsoft.Extensions.AI.
OtelImageGenerationToolCallResponse
), global::System.Array.Empty<global::System.Type>(), null),
111
properties[2] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::Microsoft.Extensions.AI.
OtelImageGenerationToolCallResponse
>(options, info2);
118
private void OtelServerToolCallResponsePartOtelImageGenerationToolCallResponseSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.Extensions.AI.OtelServerToolCallResponsePart<global::Microsoft.Extensions.AI.
OtelImageGenerationToolCallResponse
>? value)
128
string __value_Type = ((global::Microsoft.Extensions.AI.OtelServerToolCallResponsePart<global::Microsoft.Extensions.AI.
OtelImageGenerationToolCallResponse
>)value).Type;
133
string __value_Id = ((global::Microsoft.Extensions.AI.OtelServerToolCallResponsePart<global::Microsoft.Extensions.AI.
OtelImageGenerationToolCallResponse
>)value).Id;
138
global::Microsoft.Extensions.AI.
OtelImageGenerationToolCallResponse
__value_ServerToolCallResponse = ((global::Microsoft.Extensions.AI.OtelServerToolCallResponsePart<global::Microsoft.Extensions.AI.
OtelImageGenerationToolCallResponse
>)value).ServerToolCallResponse;
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\OtelContext.GetJsonTypeInfo.g.cs (2)
54
if (type == typeof(global::Microsoft.Extensions.AI.
OtelImageGenerationToolCallResponse
))
98
if (type == typeof(global::Microsoft.Extensions.AI.OtelServerToolCallResponsePart<global::Microsoft.Extensions.AI.
OtelImageGenerationToolCallResponse
>))