2 instantiations of EnumTypeInfo
aspire (2)
BackchannelJsonSerializerContext.EnumTypeInfo.g.cs (1)
31
ObjectCreator = () => new global::Aspire.Cli.Commands.Sdk.
EnumTypeInfo
(),
CapabilitiesJsonContext.EnumTypeInfo.g.cs (1)
31
ObjectCreator = () => new global::Aspire.Cli.Commands.Sdk.
EnumTypeInfo
(),
91 references to EnumTypeInfo
aspire (91)
BackchannelJsonSerializerContext.CapabilitiesInfo.g.cs (3)
117
var info3 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.
EnumTypeInfo
>>
132
AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Commands.Sdk.CapabilitiesInfo).GetProperty("EnumTypes", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.
EnumTypeInfo
>), global::System.Array.Empty<global::System.Type>(), null),
135
properties[3] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.
EnumTypeInfo
>>(options, info3);
BackchannelJsonSerializerContext.EnumTypeInfo.g.cs (26)
13
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Commands.Sdk.
EnumTypeInfo
>? _EnumTypeInfo;
19
public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Commands.Sdk.
EnumTypeInfo
> EnumTypeInfo
22
get => _EnumTypeInfo ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Commands.Sdk.
EnumTypeInfo
>)Options.GetTypeInfo(typeof(global::Aspire.Cli.Commands.Sdk.
EnumTypeInfo
));
25
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Commands.Sdk.
EnumTypeInfo
> Create_EnumTypeInfo(global::System.Text.Json.JsonSerializerOptions options)
27
if (!TryGetTypeInfoForRuntimeCustomConverter<global::Aspire.Cli.Commands.Sdk.
EnumTypeInfo
>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Commands.Sdk.
EnumTypeInfo
> jsonTypeInfo))
29
var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Aspire.Cli.Commands.Sdk.
EnumTypeInfo
>
35
ConstructorAttributeProviderFactory = static () => typeof(global::Aspire.Cli.Commands.Sdk.
EnumTypeInfo
).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.Commands.Sdk.
EnumTypeInfo
>(options, objectInfo);
56
DeclaringType = typeof(global::Aspire.Cli.Commands.Sdk.
EnumTypeInfo
),
58
Getter = static obj => ((global::Aspire.Cli.Commands.Sdk.
EnumTypeInfo
)obj).TypeId,
59
Setter = static (obj, value) => ((global::Aspire.Cli.Commands.Sdk.
EnumTypeInfo
)obj).TypeId = value!,
66
AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Commands.Sdk.
EnumTypeInfo
).GetProperty("TypeId", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
78
DeclaringType = typeof(global::Aspire.Cli.Commands.Sdk.
EnumTypeInfo
),
80
Getter = static obj => ((global::Aspire.Cli.Commands.Sdk.
EnumTypeInfo
)obj).Name,
81
Setter = static (obj, value) => ((global::Aspire.Cli.Commands.Sdk.
EnumTypeInfo
)obj).Name = value!,
88
AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Commands.Sdk.
EnumTypeInfo
).GetProperty("Name", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
100
DeclaringType = typeof(global::Aspire.Cli.Commands.Sdk.
EnumTypeInfo
),
102
Getter = static obj => ((global::Aspire.Cli.Commands.Sdk.
EnumTypeInfo
)obj).Values,
103
Setter = static (obj, value) => ((global::Aspire.Cli.Commands.Sdk.
EnumTypeInfo
)obj).Values = value!,
110
AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Commands.Sdk.
EnumTypeInfo
).GetProperty("Values", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.List<string>), global::System.Array.Empty<global::System.Type>(), null),
122
private void EnumTypeInfoSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Aspire.Cli.Commands.Sdk.
EnumTypeInfo
? value)
132
writer.WriteString(PropName_TypeId, ((global::Aspire.Cli.Commands.Sdk.
EnumTypeInfo
)value).TypeId);
133
writer.WriteString(PropName_Name, ((global::Aspire.Cli.Commands.Sdk.
EnumTypeInfo
)value).Name);
135
ListStringSerializeHandler(writer, ((global::Aspire.Cli.Commands.Sdk.
EnumTypeInfo
)value).Values);
BackchannelJsonSerializerContext.GetJsonTypeInfo.g.cs (2)
122
if (type == typeof(global::Aspire.Cli.Commands.Sdk.
EnumTypeInfo
))
298
if (type == typeof(global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.
EnumTypeInfo
>))
BackchannelJsonSerializerContext.ListEnumTypeInfo.g.cs (12)
13
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.
EnumTypeInfo
>>? _ListEnumTypeInfo;
19
public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.
EnumTypeInfo
>> ListEnumTypeInfo
22
get => _ListEnumTypeInfo ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.
EnumTypeInfo
>>)Options.GetTypeInfo(typeof(global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.
EnumTypeInfo
>));
25
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.
EnumTypeInfo
>> Create_ListEnumTypeInfo(global::System.Text.Json.JsonSerializerOptions options)
27
if (!TryGetTypeInfoForRuntimeCustomConverter<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.
EnumTypeInfo
>>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.
EnumTypeInfo
>> jsonTypeInfo))
29
var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.
EnumTypeInfo
>>
31
ObjectCreator = () => new global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.
EnumTypeInfo
>(),
35
jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateListInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.
EnumTypeInfo
>, global::Aspire.Cli.Commands.Sdk.
EnumTypeInfo
>(options, info);
45
private void ListEnumTypeInfoSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.
EnumTypeInfo
>? value)
CapabilitiesJsonContext.CapabilitiesInfo.g.cs (4)
117
var info3 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.
EnumTypeInfo
>>
132
AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Commands.Sdk.CapabilitiesInfo).GetProperty("EnumTypes", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.
EnumTypeInfo
>), global::System.Array.Empty<global::System.Type>(), null),
135
properties[3] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.
EnumTypeInfo
>>(options, info3);
194
global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.
EnumTypeInfo
> __value_EnumTypes = ((global::Aspire.Cli.Commands.Sdk.CapabilitiesInfo)value).EnumTypes;
CapabilitiesJsonContext.EnumTypeInfo.g.cs (26)
13
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Commands.Sdk.
EnumTypeInfo
>? _EnumTypeInfo;
19
public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Commands.Sdk.
EnumTypeInfo
> EnumTypeInfo
22
get => _EnumTypeInfo ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Commands.Sdk.
EnumTypeInfo
>)Options.GetTypeInfo(typeof(global::Aspire.Cli.Commands.Sdk.
EnumTypeInfo
));
25
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Commands.Sdk.
EnumTypeInfo
> Create_EnumTypeInfo(global::System.Text.Json.JsonSerializerOptions options)
27
if (!TryGetTypeInfoForRuntimeCustomConverter<global::Aspire.Cli.Commands.Sdk.
EnumTypeInfo
>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Commands.Sdk.
EnumTypeInfo
> jsonTypeInfo))
29
var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Aspire.Cli.Commands.Sdk.
EnumTypeInfo
>
35
ConstructorAttributeProviderFactory = static () => typeof(global::Aspire.Cli.Commands.Sdk.
EnumTypeInfo
).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.Commands.Sdk.
EnumTypeInfo
>(options, objectInfo);
56
DeclaringType = typeof(global::Aspire.Cli.Commands.Sdk.
EnumTypeInfo
),
58
Getter = static obj => ((global::Aspire.Cli.Commands.Sdk.
EnumTypeInfo
)obj).TypeId,
59
Setter = static (obj, value) => ((global::Aspire.Cli.Commands.Sdk.
EnumTypeInfo
)obj).TypeId = value!,
66
AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Commands.Sdk.
EnumTypeInfo
).GetProperty("TypeId", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
78
DeclaringType = typeof(global::Aspire.Cli.Commands.Sdk.
EnumTypeInfo
),
80
Getter = static obj => ((global::Aspire.Cli.Commands.Sdk.
EnumTypeInfo
)obj).Name,
81
Setter = static (obj, value) => ((global::Aspire.Cli.Commands.Sdk.
EnumTypeInfo
)obj).Name = value!,
88
AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Commands.Sdk.
EnumTypeInfo
).GetProperty("Name", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
100
DeclaringType = typeof(global::Aspire.Cli.Commands.Sdk.
EnumTypeInfo
),
102
Getter = static obj => ((global::Aspire.Cli.Commands.Sdk.
EnumTypeInfo
)obj).Values,
103
Setter = static (obj, value) => ((global::Aspire.Cli.Commands.Sdk.
EnumTypeInfo
)obj).Values = value!,
110
AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Commands.Sdk.
EnumTypeInfo
).GetProperty("Values", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.List<string>), global::System.Array.Empty<global::System.Type>(), null),
122
private void EnumTypeInfoSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Aspire.Cli.Commands.Sdk.
EnumTypeInfo
? value)
132
string __value_TypeId = ((global::Aspire.Cli.Commands.Sdk.
EnumTypeInfo
)value).TypeId;
137
string __value_Name = ((global::Aspire.Cli.Commands.Sdk.
EnumTypeInfo
)value).Name;
142
global::System.Collections.Generic.List<string> __value_Values = ((global::Aspire.Cli.Commands.Sdk.
EnumTypeInfo
)value).Values;
CapabilitiesJsonContext.GetJsonTypeInfo.g.cs (2)
50
if (type == typeof(global::Aspire.Cli.Commands.Sdk.
EnumTypeInfo
))
86
if (type == typeof(global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.
EnumTypeInfo
>))
CapabilitiesJsonContext.ListEnumTypeInfo.g.cs (12)
13
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.
EnumTypeInfo
>>? _ListEnumTypeInfo;
19
public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.
EnumTypeInfo
>> ListEnumTypeInfo
22
get => _ListEnumTypeInfo ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.
EnumTypeInfo
>>)Options.GetTypeInfo(typeof(global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.
EnumTypeInfo
>));
25
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.
EnumTypeInfo
>> Create_ListEnumTypeInfo(global::System.Text.Json.JsonSerializerOptions options)
27
if (!TryGetTypeInfoForRuntimeCustomConverter<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.
EnumTypeInfo
>>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.
EnumTypeInfo
>> jsonTypeInfo))
29
var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.
EnumTypeInfo
>>
31
ObjectCreator = () => new global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.
EnumTypeInfo
>(),
35
jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateListInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.
EnumTypeInfo
>, global::Aspire.Cli.Commands.Sdk.
EnumTypeInfo
>(options, info);
45
private void ListEnumTypeInfoSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.
EnumTypeInfo
>? value)
Commands\Sdk\SdkDumpCommand.cs (4)
312
foreach (
var
t in capabilities.EnumTypes.OrderBy(t => t.TypeId))
429
foreach (
var
t in capabilities.EnumTypes.OrderBy(t => t.Name))
502
public List<
EnumTypeInfo
> EnumTypes { get; set; } = [];
604
[JsonSerializable(typeof(
EnumTypeInfo
))]