2 instantiations of PropertyInfo
aspire (2)
Commands\SettingsSchemaBuilder.cs (1)
53
properties.Add(new
PropertyInfo
(jsonPropertyName, jsonType, description, required));
JsonSourceGenerationContext.PropertyInfo.g.cs (1)
32
ObjectWithParameterizedConstructorCreator = static args => new global::Aspire.Cli.Commands.
PropertyInfo
((string)args[0], (string)args[1], (string)args[2], (bool)args[3]),
52 references to PropertyInfo
aspire (52)
Commands\ConfigCommand.cs (1)
445
foreach (
var
property in localSchema.Properties)
Commands\ConfigInfo.cs (1)
33
internal sealed record SettingsSchema(List<
PropertyInfo
> Properties);
Commands\SettingsSchemaBuilder.cs (1)
22
var properties = new List<
PropertyInfo
>();
JsonSourceGenerationContext.cs (1)
30
[JsonSerializable(typeof(
PropertyInfo
))]
JsonSourceGenerationContext.GetJsonTypeInfo.g.cs (2)
42
if (type == typeof(global::Aspire.Cli.Commands.
PropertyInfo
))
110
if (type == typeof(global::System.Collections.Generic.List<global::Aspire.Cli.Commands.
PropertyInfo
>))
JsonSourceGenerationContext.ListPropertyInfo.g.cs (12)
13
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.
PropertyInfo
>>? _ListPropertyInfo;
19
public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.
PropertyInfo
>> ListPropertyInfo
22
get => _ListPropertyInfo ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.
PropertyInfo
>>)Options.GetTypeInfo(typeof(global::System.Collections.Generic.List<global::Aspire.Cli.Commands.
PropertyInfo
>));
25
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.
PropertyInfo
>> Create_ListPropertyInfo(global::System.Text.Json.JsonSerializerOptions options)
27
if (!TryGetTypeInfoForRuntimeCustomConverter<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.
PropertyInfo
>>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.
PropertyInfo
>> jsonTypeInfo))
29
var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.
PropertyInfo
>>
31
ObjectCreator = () => new global::System.Collections.Generic.List<global::Aspire.Cli.Commands.
PropertyInfo
>(),
35
jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateListInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.
PropertyInfo
>, global::Aspire.Cli.Commands.
PropertyInfo
>(options, info);
45
private void ListPropertyInfoSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::System.Collections.Generic.List<global::Aspire.Cli.Commands.
PropertyInfo
>? value)
JsonSourceGenerationContext.PropertyInfo.g.cs (27)
13
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Commands.
PropertyInfo
>? _PropertyInfo;
19
public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Commands.
PropertyInfo
> PropertyInfo
22
get => _PropertyInfo ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Commands.
PropertyInfo
>)Options.GetTypeInfo(typeof(global::Aspire.Cli.Commands.
PropertyInfo
));
25
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Commands.
PropertyInfo
> Create_PropertyInfo(global::System.Text.Json.JsonSerializerOptions options)
27
if (!TryGetTypeInfoForRuntimeCustomConverter<global::Aspire.Cli.Commands.
PropertyInfo
>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Commands.
PropertyInfo
> jsonTypeInfo))
29
var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Aspire.Cli.Commands.
PropertyInfo
>
35
ConstructorAttributeProviderFactory = static () => typeof(global::Aspire.Cli.Commands.
PropertyInfo
).GetConstructor(InstanceMemberBindingFlags, binder: null, new[] {typeof(string), typeof(string), typeof(string), typeof(bool)}, modifiers: null),
39
jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Aspire.Cli.Commands.
PropertyInfo
>(options, objectInfo);
56
DeclaringType = typeof(global::Aspire.Cli.Commands.
PropertyInfo
),
58
Getter = static obj => ((global::Aspire.Cli.Commands.
PropertyInfo
)obj).Name,
66
AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Commands.
PropertyInfo
).GetProperty("Name", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
78
DeclaringType = typeof(global::Aspire.Cli.Commands.
PropertyInfo
),
80
Getter = static obj => ((global::Aspire.Cli.Commands.
PropertyInfo
)obj).Type,
88
AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Commands.
PropertyInfo
).GetProperty("Type", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
100
DeclaringType = typeof(global::Aspire.Cli.Commands.
PropertyInfo
),
102
Getter = static obj => ((global::Aspire.Cli.Commands.
PropertyInfo
)obj).Description,
110
AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Commands.
PropertyInfo
).GetProperty("Description", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
122
DeclaringType = typeof(global::Aspire.Cli.Commands.
PropertyInfo
),
124
Getter = static obj => ((global::Aspire.Cli.Commands.
PropertyInfo
)obj).Required,
132
AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Commands.
PropertyInfo
).GetProperty("Required", InstanceMemberBindingFlags, null, typeof(bool), global::System.Array.Empty<global::System.Type>(), null),
142
private void PropertyInfoSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Aspire.Cli.Commands.
PropertyInfo
? value)
152
string __value_Name = ((global::Aspire.Cli.Commands.
PropertyInfo
)value).Name;
157
string __value_Type = ((global::Aspire.Cli.Commands.
PropertyInfo
)value).Type;
162
string __value_Description = ((global::Aspire.Cli.Commands.
PropertyInfo
)value).Description;
167
writer.WriteBoolean(PropName_Required, ((global::Aspire.Cli.Commands.
PropertyInfo
)value).Required);
JsonSourceGenerationContext.SettingsSchema.g.cs (7)
32
ObjectWithParameterizedConstructorCreator = static args => new global::Aspire.Cli.Commands.SettingsSchema((global::System.Collections.Generic.List<global::Aspire.Cli.Commands.
PropertyInfo
>)args[0]),
35
ConstructorAttributeProviderFactory = static () => typeof(global::Aspire.Cli.Commands.SettingsSchema).GetConstructor(InstanceMemberBindingFlags, binder: null, new[] {typeof(global::System.Collections.Generic.List<global::Aspire.Cli.Commands.
PropertyInfo
>)}, modifiers: null),
51
var info0 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.
PropertyInfo
>>
66
AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Commands.SettingsSchema).GetProperty("Properties", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.List<global::Aspire.Cli.Commands.
PropertyInfo
>), global::System.Array.Empty<global::System.Type>(), null),
69
properties[0] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.
PropertyInfo
>>(options, info0);
88
global::System.Collections.Generic.List<global::Aspire.Cli.Commands.
PropertyInfo
> __value_Properties = ((global::Aspire.Cli.Commands.SettingsSchema)value).Properties;
103
ParameterType = typeof(global::System.Collections.Generic.List<global::Aspire.Cli.Commands.
PropertyInfo
>),