2 instantiations of SettingsSchema
aspire (2)
Commands\SettingsSchemaBuilder.cs (1)
56return new SettingsSchema(properties.OrderBy(p => p.Name).ToList());
JsonSourceGenerationContext.SettingsSchema.g.cs (1)
32ObjectWithParameterizedConstructorCreator = static args => new global::Aspire.Cli.Commands.SettingsSchema((global::System.Collections.Generic.List<global::Aspire.Cli.Commands.PropertyInfo>)args[0]),
36 references to SettingsSchema
aspire (36)
Commands\ConfigCommand.cs (2)
413var localSchema = SettingsSchemaBuilder.BuildSchema(excludeLocalOnly: false); 414var globalSchema = SettingsSchemaBuilder.BuildSchema(excludeLocalOnly: true);
Commands\ConfigInfo.cs (2)
18SettingsSchema LocalSettingsSchema, 19SettingsSchema GlobalSettingsSchema);
Commands\SettingsSchemaBuilder.cs (1)
20public static SettingsSchema BuildSchema(bool excludeLocalOnly)
JsonSourceGenerationContext.ConfigInfo.g.cs (14)
32ObjectWithParameterizedConstructorCreator = static args => new global::Aspire.Cli.Commands.ConfigInfo((string)args[0], (string)args[1], (global::System.Collections.Generic.List<global::Aspire.Cli.Commands.FeatureInfo>)args[2], (global::Aspire.Cli.Commands.SettingsSchema)args[3], (global::Aspire.Cli.Commands.SettingsSchema)args[4]), 35ConstructorAttributeProviderFactory = static () => typeof(global::Aspire.Cli.Commands.ConfigInfo).GetConstructor(InstanceMemberBindingFlags, binder: null, new[] {typeof(string), typeof(string), typeof(global::System.Collections.Generic.List<global::Aspire.Cli.Commands.FeatureInfo>), typeof(global::Aspire.Cli.Commands.SettingsSchema), typeof(global::Aspire.Cli.Commands.SettingsSchema)}, modifiers: null), 117var info3 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::Aspire.Cli.Commands.SettingsSchema> 132AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Commands.ConfigInfo).GetProperty("LocalSettingsSchema", InstanceMemberBindingFlags, null, typeof(global::Aspire.Cli.Commands.SettingsSchema), global::System.Array.Empty<global::System.Type>(), null), 135properties[3] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::Aspire.Cli.Commands.SettingsSchema>(options, info3); 139var info4 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::Aspire.Cli.Commands.SettingsSchema> 154AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Commands.ConfigInfo).GetProperty("GlobalSettingsSchema", InstanceMemberBindingFlags, null, typeof(global::Aspire.Cli.Commands.SettingsSchema), global::System.Array.Empty<global::System.Type>(), null), 157properties[4] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::Aspire.Cli.Commands.SettingsSchema>(options, info4); 192global::Aspire.Cli.Commands.SettingsSchema __value_LocalSettingsSchema = ((global::Aspire.Cli.Commands.ConfigInfo)value).LocalSettingsSchema; 198global::Aspire.Cli.Commands.SettingsSchema __value_GlobalSettingsSchema = ((global::Aspire.Cli.Commands.ConfigInfo)value).GlobalSettingsSchema; 243ParameterType = typeof(global::Aspire.Cli.Commands.SettingsSchema), 253ParameterType = typeof(global::Aspire.Cli.Commands.SettingsSchema),
JsonSourceGenerationContext.cs (1)
29[JsonSerializable(typeof(SettingsSchema))]
JsonSourceGenerationContext.GetJsonTypeInfo.g.cs (1)
46if (type == typeof(global::Aspire.Cli.Commands.SettingsSchema))
JsonSourceGenerationContext.SettingsSchema.g.cs (15)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Commands.SettingsSchema>? _SettingsSchema; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Commands.SettingsSchema> SettingsSchema 22get => _SettingsSchema ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Commands.SettingsSchema>)Options.GetTypeInfo(typeof(global::Aspire.Cli.Commands.SettingsSchema)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Commands.SettingsSchema> Create_SettingsSchema(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::Aspire.Cli.Commands.SettingsSchema>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Commands.SettingsSchema> jsonTypeInfo)) 29var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Aspire.Cli.Commands.SettingsSchema> 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), 39jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Aspire.Cli.Commands.SettingsSchema>(options, objectInfo); 56DeclaringType = typeof(global::Aspire.Cli.Commands.SettingsSchema), 58Getter = static obj => ((global::Aspire.Cli.Commands.SettingsSchema)obj).Properties, 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), 78private void SettingsSchemaSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Aspire.Cli.Commands.SettingsSchema? value) 88global::System.Collections.Generic.List<global::Aspire.Cli.Commands.PropertyInfo> __value_Properties = ((global::Aspire.Cli.Commands.SettingsSchema)value).Properties;