1 instantiation of ResourceInfoJson
aspire (1)
OtlpCliJsonSerializerContext.ResourceInfoJson.g.cs (1)
31
ObjectCreator = () => new global::Aspire.Cli.Otlp.
ResourceInfoJson
(),
56 references to ResourceInfoJson
aspire (56)
Commands\TelemetryCommandHelpers.cs (1)
203
var
exactMatch = resources.FirstOrDefault(r =>
Otlp\OtlpCliJsonSerializerContext.cs (2)
93
[JsonSerializable(typeof(
ResourceInfoJson
))]
94
[JsonSerializable(typeof(
ResourceInfoJson
[]))]
OtlpCliJsonSerializerContext.GetJsonTypeInfo.g.cs (2)
38
if (type == typeof(global::Aspire.Cli.Otlp.
ResourceInfoJson
))
42
if (type == typeof(global::Aspire.Cli.Otlp.
ResourceInfoJson
[]))
OtlpCliJsonSerializerContext.ResourceInfoJson.g.cs (41)
13
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Otlp.
ResourceInfoJson
>? _ResourceInfoJson;
19
public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Otlp.
ResourceInfoJson
> ResourceInfoJson
22
get => _ResourceInfoJson ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Otlp.
ResourceInfoJson
>)Options.GetTypeInfo(typeof(global::Aspire.Cli.Otlp.
ResourceInfoJson
));
25
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Otlp.
ResourceInfoJson
> Create_ResourceInfoJson(global::System.Text.Json.JsonSerializerOptions options)
27
if (!TryGetTypeInfoForRuntimeCustomConverter<global::Aspire.Cli.Otlp.
ResourceInfoJson
>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Otlp.
ResourceInfoJson
> jsonTypeInfo))
29
var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Aspire.Cli.Otlp.
ResourceInfoJson
>
35
ConstructorAttributeProviderFactory = static () => typeof(global::Aspire.Cli.Otlp.
ResourceInfoJson
).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null),
39
jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Aspire.Cli.Otlp.
ResourceInfoJson
>(options, objectInfo);
56
DeclaringType = typeof(global::Aspire.Cli.Otlp.
ResourceInfoJson
),
58
Getter = static obj => ((global::Aspire.Cli.Otlp.
ResourceInfoJson
)obj).Name,
59
Setter = static (obj, value) => ((global::Aspire.Cli.Otlp.
ResourceInfoJson
)obj).Name = value!,
66
AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Otlp.
ResourceInfoJson
).GetProperty("Name", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
78
DeclaringType = typeof(global::Aspire.Cli.Otlp.
ResourceInfoJson
),
80
Getter = static obj => ((global::Aspire.Cli.Otlp.
ResourceInfoJson
)obj).InstanceId,
81
Setter = static (obj, value) => ((global::Aspire.Cli.Otlp.
ResourceInfoJson
)obj).InstanceId = value!,
88
AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Otlp.
ResourceInfoJson
).GetProperty("InstanceId", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
98
DeclaringType = typeof(global::Aspire.Cli.Otlp.
ResourceInfoJson
),
100
Getter = static obj => ((global::Aspire.Cli.Otlp.
ResourceInfoJson
)obj).DisplayName,
101
Setter = static (obj, value) => ((global::Aspire.Cli.Otlp.
ResourceInfoJson
)obj).DisplayName = value!,
108
AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Otlp.
ResourceInfoJson
).GetProperty("DisplayName", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
120
DeclaringType = typeof(global::Aspire.Cli.Otlp.
ResourceInfoJson
),
122
Getter = static obj => ((global::Aspire.Cli.Otlp.
ResourceInfoJson
)obj).HasLogs,
123
Setter = static (obj, value) => ((global::Aspire.Cli.Otlp.
ResourceInfoJson
)obj).HasLogs = value!,
130
AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Otlp.
ResourceInfoJson
).GetProperty("HasLogs", InstanceMemberBindingFlags, null, typeof(bool), global::System.Array.Empty<global::System.Type>(), null),
140
DeclaringType = typeof(global::Aspire.Cli.Otlp.
ResourceInfoJson
),
142
Getter = static obj => ((global::Aspire.Cli.Otlp.
ResourceInfoJson
)obj).HasTraces,
143
Setter = static (obj, value) => ((global::Aspire.Cli.Otlp.
ResourceInfoJson
)obj).HasTraces = value!,
150
AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Otlp.
ResourceInfoJson
).GetProperty("HasTraces", InstanceMemberBindingFlags, null, typeof(bool), global::System.Array.Empty<global::System.Type>(), null),
160
DeclaringType = typeof(global::Aspire.Cli.Otlp.
ResourceInfoJson
),
162
Getter = static obj => ((global::Aspire.Cli.Otlp.
ResourceInfoJson
)obj).HasMetrics,
163
Setter = static (obj, value) => ((global::Aspire.Cli.Otlp.
ResourceInfoJson
)obj).HasMetrics = value!,
170
AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Otlp.
ResourceInfoJson
).GetProperty("HasMetrics", InstanceMemberBindingFlags, null, typeof(bool), global::System.Array.Empty<global::System.Type>(), null),
180
private void ResourceInfoJsonSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Aspire.Cli.Otlp.
ResourceInfoJson
? value)
190
string __value_Name = ((global::Aspire.Cli.Otlp.
ResourceInfoJson
)value).Name;
195
string __value_InstanceId = ((global::Aspire.Cli.Otlp.
ResourceInfoJson
)value).InstanceId;
200
string __value_DisplayName = ((global::Aspire.Cli.Otlp.
ResourceInfoJson
)value).DisplayName;
205
writer.WriteBoolean(PropName_hasLogs, ((global::Aspire.Cli.Otlp.
ResourceInfoJson
)value).HasLogs);
206
writer.WriteBoolean(PropName_hasTraces, ((global::Aspire.Cli.Otlp.
ResourceInfoJson
)value).HasTraces);
207
writer.WriteBoolean(PropName_hasMetrics, ((global::Aspire.Cli.Otlp.
ResourceInfoJson
)value).HasMetrics);
OtlpCliJsonSerializerContext.ResourceInfoJsonArray.g.cs (10)
13
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Otlp.
ResourceInfoJson
[]>? _ResourceInfoJsonArray;
19
public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Otlp.
ResourceInfoJson
[]> ResourceInfoJsonArray
22
get => _ResourceInfoJsonArray ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Otlp.
ResourceInfoJson
[]>)Options.GetTypeInfo(typeof(global::Aspire.Cli.Otlp.
ResourceInfoJson
[]));
25
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Otlp.
ResourceInfoJson
[]> Create_ResourceInfoJsonArray(global::System.Text.Json.JsonSerializerOptions options)
27
if (!TryGetTypeInfoForRuntimeCustomConverter<global::Aspire.Cli.Otlp.
ResourceInfoJson
[]>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Otlp.
ResourceInfoJson
[]> jsonTypeInfo))
29
var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::Aspire.Cli.Otlp.
ResourceInfoJson
[]>
35
jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateArrayInfo<global::Aspire.Cli.Otlp.
ResourceInfoJson
>(options, info);
45
private void ResourceInfoJsonArraySerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Aspire.Cli.Otlp.
ResourceInfoJson
[]? value)