2 instantiations of DtoPropertyInfo
aspire (2)
BackchannelJsonSerializerContext.DtoPropertyInfo.g.cs (1)
31
ObjectCreator = () => new global::Aspire.Cli.Commands.Sdk.
DtoPropertyInfo
(),
CapabilitiesJsonContext.DtoPropertyInfo.g.cs (1)
31
ObjectCreator = () => new global::Aspire.Cli.Commands.Sdk.
DtoPropertyInfo
(),
91 references to DtoPropertyInfo
aspire (91)
BackchannelJsonSerializerContext.DtoPropertyInfo.g.cs (26)
13
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Commands.Sdk.
DtoPropertyInfo
>? _DtoPropertyInfo;
19
public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Commands.Sdk.
DtoPropertyInfo
> DtoPropertyInfo
22
get => _DtoPropertyInfo ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Commands.Sdk.
DtoPropertyInfo
>)Options.GetTypeInfo(typeof(global::Aspire.Cli.Commands.Sdk.
DtoPropertyInfo
));
25
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Commands.Sdk.
DtoPropertyInfo
> Create_DtoPropertyInfo(global::System.Text.Json.JsonSerializerOptions options)
27
if (!TryGetTypeInfoForRuntimeCustomConverter<global::Aspire.Cli.Commands.Sdk.
DtoPropertyInfo
>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Commands.Sdk.
DtoPropertyInfo
> jsonTypeInfo))
29
var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Aspire.Cli.Commands.Sdk.
DtoPropertyInfo
>
35
ConstructorAttributeProviderFactory = static () => typeof(global::Aspire.Cli.Commands.Sdk.
DtoPropertyInfo
).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.
DtoPropertyInfo
>(options, objectInfo);
56
DeclaringType = typeof(global::Aspire.Cli.Commands.Sdk.
DtoPropertyInfo
),
58
Getter = static obj => ((global::Aspire.Cli.Commands.Sdk.
DtoPropertyInfo
)obj).Name,
59
Setter = static (obj, value) => ((global::Aspire.Cli.Commands.Sdk.
DtoPropertyInfo
)obj).Name = value!,
66
AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Commands.Sdk.
DtoPropertyInfo
).GetProperty("Name", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
78
DeclaringType = typeof(global::Aspire.Cli.Commands.Sdk.
DtoPropertyInfo
),
80
Getter = static obj => ((global::Aspire.Cli.Commands.Sdk.
DtoPropertyInfo
)obj).Type,
81
Setter = static (obj, value) => ((global::Aspire.Cli.Commands.Sdk.
DtoPropertyInfo
)obj).Type = value!,
88
AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Commands.Sdk.
DtoPropertyInfo
).GetProperty("Type", InstanceMemberBindingFlags, null, typeof(global::Aspire.Cli.Commands.Sdk.TypeRefInfo), global::System.Array.Empty<global::System.Type>(), null),
98
DeclaringType = typeof(global::Aspire.Cli.Commands.Sdk.
DtoPropertyInfo
),
100
Getter = static obj => ((global::Aspire.Cli.Commands.Sdk.
DtoPropertyInfo
)obj).IsOptional,
101
Setter = static (obj, value) => ((global::Aspire.Cli.Commands.Sdk.
DtoPropertyInfo
)obj).IsOptional = value!,
108
AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Commands.Sdk.
DtoPropertyInfo
).GetProperty("IsOptional", InstanceMemberBindingFlags, null, typeof(bool), global::System.Array.Empty<global::System.Type>(), null),
118
private void DtoPropertyInfoSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Aspire.Cli.Commands.Sdk.
DtoPropertyInfo
? value)
128
writer.WriteString(PropName_Name, ((global::Aspire.Cli.Commands.Sdk.
DtoPropertyInfo
)value).Name);
130
TypeRefInfoSerializeHandler(writer, ((global::Aspire.Cli.Commands.Sdk.
DtoPropertyInfo
)value).Type);
131
writer.WriteBoolean(PropName_IsOptional, ((global::Aspire.Cli.Commands.Sdk.
DtoPropertyInfo
)value).IsOptional);
BackchannelJsonSerializerContext.DtoTypeInfo.g.cs (3)
95
var info2 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.
DtoPropertyInfo
>>
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),
113
properties[2] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.
DtoPropertyInfo
>>(options, info2);
BackchannelJsonSerializerContext.GetJsonTypeInfo.g.cs (2)
114
if (type == typeof(global::Aspire.Cli.Commands.Sdk.
DtoPropertyInfo
))
290
if (type == typeof(global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.
DtoPropertyInfo
>))
BackchannelJsonSerializerContext.ListDtoPropertyInfo.g.cs (12)
13
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.
DtoPropertyInfo
>>? _ListDtoPropertyInfo;
19
public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.
DtoPropertyInfo
>> ListDtoPropertyInfo
22
get => _ListDtoPropertyInfo ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.
DtoPropertyInfo
>>)Options.GetTypeInfo(typeof(global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.
DtoPropertyInfo
>));
25
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.
DtoPropertyInfo
>> Create_ListDtoPropertyInfo(global::System.Text.Json.JsonSerializerOptions options)
27
if (!TryGetTypeInfoForRuntimeCustomConverter<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.
DtoPropertyInfo
>>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.
DtoPropertyInfo
>> jsonTypeInfo))
29
var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.
DtoPropertyInfo
>>
31
ObjectCreator = () => new global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.
DtoPropertyInfo
>(),
35
jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateListInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.
DtoPropertyInfo
>, global::Aspire.Cli.Commands.Sdk.
DtoPropertyInfo
>(options, info);
45
private void ListDtoPropertyInfoSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.
DtoPropertyInfo
>? value)
CapabilitiesJsonContext.DtoPropertyInfo.g.cs (26)
13
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Commands.Sdk.
DtoPropertyInfo
>? _DtoPropertyInfo;
19
public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Commands.Sdk.
DtoPropertyInfo
> DtoPropertyInfo
22
get => _DtoPropertyInfo ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Commands.Sdk.
DtoPropertyInfo
>)Options.GetTypeInfo(typeof(global::Aspire.Cli.Commands.Sdk.
DtoPropertyInfo
));
25
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Commands.Sdk.
DtoPropertyInfo
> Create_DtoPropertyInfo(global::System.Text.Json.JsonSerializerOptions options)
27
if (!TryGetTypeInfoForRuntimeCustomConverter<global::Aspire.Cli.Commands.Sdk.
DtoPropertyInfo
>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Commands.Sdk.
DtoPropertyInfo
> jsonTypeInfo))
29
var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Aspire.Cli.Commands.Sdk.
DtoPropertyInfo
>
35
ConstructorAttributeProviderFactory = static () => typeof(global::Aspire.Cli.Commands.Sdk.
DtoPropertyInfo
).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.
DtoPropertyInfo
>(options, objectInfo);
56
DeclaringType = typeof(global::Aspire.Cli.Commands.Sdk.
DtoPropertyInfo
),
58
Getter = static obj => ((global::Aspire.Cli.Commands.Sdk.
DtoPropertyInfo
)obj).Name,
59
Setter = static (obj, value) => ((global::Aspire.Cli.Commands.Sdk.
DtoPropertyInfo
)obj).Name = value!,
66
AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Commands.Sdk.
DtoPropertyInfo
).GetProperty("Name", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
78
DeclaringType = typeof(global::Aspire.Cli.Commands.Sdk.
DtoPropertyInfo
),
80
Getter = static obj => ((global::Aspire.Cli.Commands.Sdk.
DtoPropertyInfo
)obj).Type,
81
Setter = static (obj, value) => ((global::Aspire.Cli.Commands.Sdk.
DtoPropertyInfo
)obj).Type = value!,
88
AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Commands.Sdk.
DtoPropertyInfo
).GetProperty("Type", InstanceMemberBindingFlags, null, typeof(global::Aspire.Cli.Commands.Sdk.TypeRefInfo), global::System.Array.Empty<global::System.Type>(), null),
98
DeclaringType = typeof(global::Aspire.Cli.Commands.Sdk.
DtoPropertyInfo
),
100
Getter = static obj => ((global::Aspire.Cli.Commands.Sdk.
DtoPropertyInfo
)obj).IsOptional,
101
Setter = static (obj, value) => ((global::Aspire.Cli.Commands.Sdk.
DtoPropertyInfo
)obj).IsOptional = value!,
108
AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Commands.Sdk.
DtoPropertyInfo
).GetProperty("IsOptional", InstanceMemberBindingFlags, null, typeof(bool), global::System.Array.Empty<global::System.Type>(), null),
118
private void DtoPropertyInfoSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Aspire.Cli.Commands.Sdk.
DtoPropertyInfo
? value)
128
string __value_Name = ((global::Aspire.Cli.Commands.Sdk.
DtoPropertyInfo
)value).Name;
133
global::Aspire.Cli.Commands.Sdk.TypeRefInfo __value_Type = ((global::Aspire.Cli.Commands.Sdk.
DtoPropertyInfo
)value).Type;
139
writer.WriteBoolean(PropName_IsOptional, ((global::Aspire.Cli.Commands.Sdk.
DtoPropertyInfo
)value).IsOptional);
CapabilitiesJsonContext.DtoTypeInfo.g.cs (4)
95
var info2 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.
DtoPropertyInfo
>>
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),
113
properties[2] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.
DtoPropertyInfo
>>(options, info2);
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)
42
if (type == typeof(global::Aspire.Cli.Commands.Sdk.
DtoPropertyInfo
))
78
if (type == typeof(global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.
DtoPropertyInfo
>))
CapabilitiesJsonContext.ListDtoPropertyInfo.g.cs (12)
13
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.
DtoPropertyInfo
>>? _ListDtoPropertyInfo;
19
public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.
DtoPropertyInfo
>> ListDtoPropertyInfo
22
get => _ListDtoPropertyInfo ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.
DtoPropertyInfo
>>)Options.GetTypeInfo(typeof(global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.
DtoPropertyInfo
>));
25
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.
DtoPropertyInfo
>> Create_ListDtoPropertyInfo(global::System.Text.Json.JsonSerializerOptions options)
27
if (!TryGetTypeInfoForRuntimeCustomConverter<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.
DtoPropertyInfo
>>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.
DtoPropertyInfo
>> jsonTypeInfo))
29
var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.
DtoPropertyInfo
>>
31
ObjectCreator = () => new global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.
DtoPropertyInfo
>(),
35
jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateListInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.
DtoPropertyInfo
>, global::Aspire.Cli.Commands.Sdk.
DtoPropertyInfo
>(options, info);
45
private void ListDtoPropertyInfoSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.
DtoPropertyInfo
>? value)
Commands\Sdk\SdkDumpCommand.cs (4)
299
foreach (
var
p in t.Properties.OrderBy(p => p.Name))
412
foreach (
var
p in t.Properties.OrderBy(p => p.Name))
567
public List<
DtoPropertyInfo
> Properties { get; set; } = [];
603
[JsonSerializable(typeof(
DtoPropertyInfo
))]