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