3 instantiations of OtelFilePart
Microsoft.Extensions.AI (3)
Common\OtelMessageSerializer.cs (1)
113
m.Parts.Add(new
OtelFilePart
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\OtelContext.OtelFilePart.g.cs (1)
31
ObjectCreator = () => new global::Microsoft.Extensions.AI.
OtelFilePart
(),
Realtime\OpenTelemetryRealtimeClientSession.cs (1)
578
message.Parts.Add(new
OtelFilePart
33 references to OtelFilePart
Microsoft.Extensions.AI (33)
Common\OtelContext.cs (1)
23
[JsonSerializable(typeof(
OtelFilePart
))]
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\OtelContext.GetJsonTypeInfo.g.cs (1)
38
if (type == typeof(global::Microsoft.Extensions.AI.
OtelFilePart
))
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\OtelContext.OtelFilePart.g.cs (31)
13
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.
OtelFilePart
>? _OtelFilePart;
19
public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.
OtelFilePart
> OtelFilePart
22
get => _OtelFilePart ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.
OtelFilePart
>)Options.GetTypeInfo(typeof(global::Microsoft.Extensions.AI.
OtelFilePart
));
25
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.
OtelFilePart
> Create_OtelFilePart(global::System.Text.Json.JsonSerializerOptions options)
27
if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.Extensions.AI.
OtelFilePart
>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.
OtelFilePart
> jsonTypeInfo))
29
var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.Extensions.AI.
OtelFilePart
>
35
ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.
OtelFilePart
).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.
OtelFilePart
>(options, objectInfo);
56
DeclaringType = typeof(global::Microsoft.Extensions.AI.
OtelFilePart
),
58
Getter = static obj => ((global::Microsoft.Extensions.AI.
OtelFilePart
)obj).Type,
59
Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.
OtelFilePart
)obj).Type = value!,
66
AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.
OtelFilePart
).GetProperty("Type", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
78
DeclaringType = typeof(global::Microsoft.Extensions.AI.
OtelFilePart
),
80
Getter = static obj => ((global::Microsoft.Extensions.AI.
OtelFilePart
)obj).FileId,
81
Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.
OtelFilePart
)obj).FileId = value!,
88
AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.
OtelFilePart
).GetProperty("FileId", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
98
DeclaringType = typeof(global::Microsoft.Extensions.AI.
OtelFilePart
),
100
Getter = static obj => ((global::Microsoft.Extensions.AI.
OtelFilePart
)obj).MimeType,
101
Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.
OtelFilePart
)obj).MimeType = value!,
108
AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.
OtelFilePart
).GetProperty("MimeType", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
118
DeclaringType = typeof(global::Microsoft.Extensions.AI.
OtelFilePart
),
120
Getter = static obj => ((global::Microsoft.Extensions.AI.
OtelFilePart
)obj).Modality,
121
Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.
OtelFilePart
)obj).Modality = value!,
128
AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.
OtelFilePart
).GetProperty("Modality", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
138
private void OtelFilePartSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.Extensions.AI.
OtelFilePart
? value)
148
string __value_Type = ((global::Microsoft.Extensions.AI.
OtelFilePart
)value).Type;
153
string __value_FileId = ((global::Microsoft.Extensions.AI.
OtelFilePart
)value).FileId;
158
string __value_MimeType = ((global::Microsoft.Extensions.AI.
OtelFilePart
)value).MimeType;
163
string __value_Modality = ((global::Microsoft.Extensions.AI.
OtelFilePart
)value).Modality;