2 instantiations of DtoTypeInfo
aspire (2)
BackchannelJsonSerializerContext.DtoTypeInfo.g.cs (1)
31
ObjectCreator = () => new global::Aspire.Cli.Commands.Sdk.
DtoTypeInfo
(),
CapabilitiesJsonContext.DtoTypeInfo.g.cs (1)
31
ObjectCreator = () => new global::Aspire.Cli.Commands.Sdk.
DtoTypeInfo
(),
91 references to DtoTypeInfo
aspire (91)
BackchannelJsonSerializerContext.CapabilitiesInfo.g.cs (3)
95
var info2 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.
DtoTypeInfo
>>
110
AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Commands.Sdk.CapabilitiesInfo).GetProperty("DtoTypes", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.
DtoTypeInfo
>), global::System.Array.Empty<global::System.Type>(), null),
113
properties[2] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.
DtoTypeInfo
>>(options, info2);
BackchannelJsonSerializerContext.DtoTypeInfo.g.cs (26)
13
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Commands.Sdk.
DtoTypeInfo
>? _DtoTypeInfo;
19
public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Commands.Sdk.
DtoTypeInfo
> DtoTypeInfo
22
get => _DtoTypeInfo ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Commands.Sdk.
DtoTypeInfo
>)Options.GetTypeInfo(typeof(global::Aspire.Cli.Commands.Sdk.
DtoTypeInfo
));
25
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Commands.Sdk.
DtoTypeInfo
> Create_DtoTypeInfo(global::System.Text.Json.JsonSerializerOptions options)
27
if (!TryGetTypeInfoForRuntimeCustomConverter<global::Aspire.Cli.Commands.Sdk.
DtoTypeInfo
>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Commands.Sdk.
DtoTypeInfo
> jsonTypeInfo))
29
var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Aspire.Cli.Commands.Sdk.
DtoTypeInfo
>
35
ConstructorAttributeProviderFactory = static () => typeof(global::Aspire.Cli.Commands.Sdk.
DtoTypeInfo
).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.
DtoTypeInfo
>(options, objectInfo);
56
DeclaringType = typeof(global::Aspire.Cli.Commands.Sdk.
DtoTypeInfo
),
58
Getter = static obj => ((global::Aspire.Cli.Commands.Sdk.
DtoTypeInfo
)obj).TypeId,
59
Setter = static (obj, value) => ((global::Aspire.Cli.Commands.Sdk.
DtoTypeInfo
)obj).TypeId = value!,
66
AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Commands.Sdk.
DtoTypeInfo
).GetProperty("TypeId", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
78
DeclaringType = typeof(global::Aspire.Cli.Commands.Sdk.
DtoTypeInfo
),
80
Getter = static obj => ((global::Aspire.Cli.Commands.Sdk.
DtoTypeInfo
)obj).Name,
81
Setter = static (obj, value) => ((global::Aspire.Cli.Commands.Sdk.
DtoTypeInfo
)obj).Name = value!,
88
AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Commands.Sdk.
DtoTypeInfo
).GetProperty("Name", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
100
DeclaringType = typeof(global::Aspire.Cli.Commands.Sdk.
DtoTypeInfo
),
102
Getter = static obj => ((global::Aspire.Cli.Commands.Sdk.
DtoTypeInfo
)obj).Properties,
103
Setter = static (obj, value) => ((global::Aspire.Cli.Commands.Sdk.
DtoTypeInfo
)obj).Properties = value!,
110
AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Commands.Sdk.
DtoTypeInfo
).GetProperty("Properties", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.DtoPropertyInfo>), global::System.Array.Empty<global::System.Type>(), null),
122
private void DtoTypeInfoSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Aspire.Cli.Commands.Sdk.
DtoTypeInfo
? value)
132
writer.WriteString(PropName_TypeId, ((global::Aspire.Cli.Commands.Sdk.
DtoTypeInfo
)value).TypeId);
133
writer.WriteString(PropName_Name, ((global::Aspire.Cli.Commands.Sdk.
DtoTypeInfo
)value).Name);
135
ListDtoPropertyInfoSerializeHandler(writer, ((global::Aspire.Cli.Commands.Sdk.
DtoTypeInfo
)value).Properties);
BackchannelJsonSerializerContext.GetJsonTypeInfo.g.cs (2)
118
if (type == typeof(global::Aspire.Cli.Commands.Sdk.
DtoTypeInfo
))
294
if (type == typeof(global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.
DtoTypeInfo
>))
BackchannelJsonSerializerContext.ListDtoTypeInfo.g.cs (12)
13
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.
DtoTypeInfo
>>? _ListDtoTypeInfo;
19
public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.
DtoTypeInfo
>> ListDtoTypeInfo
22
get => _ListDtoTypeInfo ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.
DtoTypeInfo
>>)Options.GetTypeInfo(typeof(global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.
DtoTypeInfo
>));
25
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.
DtoTypeInfo
>> Create_ListDtoTypeInfo(global::System.Text.Json.JsonSerializerOptions options)
27
if (!TryGetTypeInfoForRuntimeCustomConverter<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.
DtoTypeInfo
>>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.
DtoTypeInfo
>> jsonTypeInfo))
29
var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.
DtoTypeInfo
>>
31
ObjectCreator = () => new global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.
DtoTypeInfo
>(),
35
jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateListInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.
DtoTypeInfo
>, global::Aspire.Cli.Commands.Sdk.
DtoTypeInfo
>(options, info);
45
private void ListDtoTypeInfoSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.
DtoTypeInfo
>? value)
CapabilitiesJsonContext.CapabilitiesInfo.g.cs (4)
95
var info2 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.
DtoTypeInfo
>>
110
AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Commands.Sdk.CapabilitiesInfo).GetProperty("DtoTypes", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.
DtoTypeInfo
>), global::System.Array.Empty<global::System.Type>(), null),
113
properties[2] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.
DtoTypeInfo
>>(options, info2);
188
global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.
DtoTypeInfo
> __value_DtoTypes = ((global::Aspire.Cli.Commands.Sdk.CapabilitiesInfo)value).DtoTypes;
CapabilitiesJsonContext.DtoTypeInfo.g.cs (26)
13
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Commands.Sdk.
DtoTypeInfo
>? _DtoTypeInfo;
19
public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Commands.Sdk.
DtoTypeInfo
> DtoTypeInfo
22
get => _DtoTypeInfo ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Commands.Sdk.
DtoTypeInfo
>)Options.GetTypeInfo(typeof(global::Aspire.Cli.Commands.Sdk.
DtoTypeInfo
));
25
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Commands.Sdk.
DtoTypeInfo
> Create_DtoTypeInfo(global::System.Text.Json.JsonSerializerOptions options)
27
if (!TryGetTypeInfoForRuntimeCustomConverter<global::Aspire.Cli.Commands.Sdk.
DtoTypeInfo
>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Commands.Sdk.
DtoTypeInfo
> jsonTypeInfo))
29
var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Aspire.Cli.Commands.Sdk.
DtoTypeInfo
>
35
ConstructorAttributeProviderFactory = static () => typeof(global::Aspire.Cli.Commands.Sdk.
DtoTypeInfo
).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.
DtoTypeInfo
>(options, objectInfo);
56
DeclaringType = typeof(global::Aspire.Cli.Commands.Sdk.
DtoTypeInfo
),
58
Getter = static obj => ((global::Aspire.Cli.Commands.Sdk.
DtoTypeInfo
)obj).TypeId,
59
Setter = static (obj, value) => ((global::Aspire.Cli.Commands.Sdk.
DtoTypeInfo
)obj).TypeId = value!,
66
AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Commands.Sdk.
DtoTypeInfo
).GetProperty("TypeId", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
78
DeclaringType = typeof(global::Aspire.Cli.Commands.Sdk.
DtoTypeInfo
),
80
Getter = static obj => ((global::Aspire.Cli.Commands.Sdk.
DtoTypeInfo
)obj).Name,
81
Setter = static (obj, value) => ((global::Aspire.Cli.Commands.Sdk.
DtoTypeInfo
)obj).Name = value!,
88
AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Commands.Sdk.
DtoTypeInfo
).GetProperty("Name", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
100
DeclaringType = typeof(global::Aspire.Cli.Commands.Sdk.
DtoTypeInfo
),
102
Getter = static obj => ((global::Aspire.Cli.Commands.Sdk.
DtoTypeInfo
)obj).Properties,
103
Setter = static (obj, value) => ((global::Aspire.Cli.Commands.Sdk.
DtoTypeInfo
)obj).Properties = value!,
110
AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Commands.Sdk.
DtoTypeInfo
).GetProperty("Properties", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.DtoPropertyInfo>), global::System.Array.Empty<global::System.Type>(), null),
122
private void DtoTypeInfoSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Aspire.Cli.Commands.Sdk.
DtoTypeInfo
? value)
132
string __value_TypeId = ((global::Aspire.Cli.Commands.Sdk.
DtoTypeInfo
)value).TypeId;
137
string __value_Name = ((global::Aspire.Cli.Commands.Sdk.
DtoTypeInfo
)value).Name;
142
global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.DtoPropertyInfo> __value_Properties = ((global::Aspire.Cli.Commands.Sdk.
DtoTypeInfo
)value).Properties;
CapabilitiesJsonContext.GetJsonTypeInfo.g.cs (2)
46
if (type == typeof(global::Aspire.Cli.Commands.Sdk.
DtoTypeInfo
))
82
if (type == typeof(global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.
DtoTypeInfo
>))
CapabilitiesJsonContext.ListDtoTypeInfo.g.cs (12)
13
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.
DtoTypeInfo
>>? _ListDtoTypeInfo;
19
public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.
DtoTypeInfo
>> ListDtoTypeInfo
22
get => _ListDtoTypeInfo ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.
DtoTypeInfo
>>)Options.GetTypeInfo(typeof(global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.
DtoTypeInfo
>));
25
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.
DtoTypeInfo
>> Create_ListDtoTypeInfo(global::System.Text.Json.JsonSerializerOptions options)
27
if (!TryGetTypeInfoForRuntimeCustomConverter<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.
DtoTypeInfo
>>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.
DtoTypeInfo
>> jsonTypeInfo))
29
var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.
DtoTypeInfo
>>
31
ObjectCreator = () => new global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.
DtoTypeInfo
>(),
35
jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateListInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.
DtoTypeInfo
>, global::Aspire.Cli.Commands.Sdk.
DtoTypeInfo
>(options, info);
45
private void ListDtoTypeInfoSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.
DtoTypeInfo
>? value)
Commands\Sdk\SdkDumpCommand.cs (4)
296
foreach (
var
t in capabilities.DtoTypes.OrderBy(t => t.TypeId))
409
foreach (
var
t in capabilities.DtoTypes.OrderBy(t => t.Name))
501
public List<
DtoTypeInfo
> DtoTypes { get; set; } = [];
602
[JsonSerializable(typeof(
DtoTypeInfo
))]