2 instantiations of EnumTypeInfo
aspire (2)
BackchannelJsonSerializerContext.EnumTypeInfo.g.cs (1)
31ObjectCreator = () => new global::Aspire.Cli.Commands.Sdk.EnumTypeInfo(),
CapabilitiesJsonContext.EnumTypeInfo.g.cs (1)
31ObjectCreator = () => new global::Aspire.Cli.Commands.Sdk.EnumTypeInfo(),
91 references to EnumTypeInfo
aspire (91)
BackchannelJsonSerializerContext.CapabilitiesInfo.g.cs (3)
117var info3 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.EnumTypeInfo>> 132AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Commands.Sdk.CapabilitiesInfo).GetProperty("EnumTypes", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.EnumTypeInfo>), global::System.Array.Empty<global::System.Type>(), null), 135properties[3] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.EnumTypeInfo>>(options, info3);
BackchannelJsonSerializerContext.EnumTypeInfo.g.cs (26)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Commands.Sdk.EnumTypeInfo>? _EnumTypeInfo; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Commands.Sdk.EnumTypeInfo> EnumTypeInfo 22get => _EnumTypeInfo ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Commands.Sdk.EnumTypeInfo>)Options.GetTypeInfo(typeof(global::Aspire.Cli.Commands.Sdk.EnumTypeInfo)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Commands.Sdk.EnumTypeInfo> Create_EnumTypeInfo(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::Aspire.Cli.Commands.Sdk.EnumTypeInfo>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Commands.Sdk.EnumTypeInfo> jsonTypeInfo)) 29var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Aspire.Cli.Commands.Sdk.EnumTypeInfo> 35ConstructorAttributeProviderFactory = static () => typeof(global::Aspire.Cli.Commands.Sdk.EnumTypeInfo).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null), 39jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Aspire.Cli.Commands.Sdk.EnumTypeInfo>(options, objectInfo); 56DeclaringType = typeof(global::Aspire.Cli.Commands.Sdk.EnumTypeInfo), 58Getter = static obj => ((global::Aspire.Cli.Commands.Sdk.EnumTypeInfo)obj).TypeId, 59Setter = static (obj, value) => ((global::Aspire.Cli.Commands.Sdk.EnumTypeInfo)obj).TypeId = value!, 66AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Commands.Sdk.EnumTypeInfo).GetProperty("TypeId", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 78DeclaringType = typeof(global::Aspire.Cli.Commands.Sdk.EnumTypeInfo), 80Getter = static obj => ((global::Aspire.Cli.Commands.Sdk.EnumTypeInfo)obj).Name, 81Setter = static (obj, value) => ((global::Aspire.Cli.Commands.Sdk.EnumTypeInfo)obj).Name = value!, 88AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Commands.Sdk.EnumTypeInfo).GetProperty("Name", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 100DeclaringType = typeof(global::Aspire.Cli.Commands.Sdk.EnumTypeInfo), 102Getter = static obj => ((global::Aspire.Cli.Commands.Sdk.EnumTypeInfo)obj).Values, 103Setter = static (obj, value) => ((global::Aspire.Cli.Commands.Sdk.EnumTypeInfo)obj).Values = value!, 110AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Commands.Sdk.EnumTypeInfo).GetProperty("Values", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.List<string>), global::System.Array.Empty<global::System.Type>(), null), 122private void EnumTypeInfoSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Aspire.Cli.Commands.Sdk.EnumTypeInfo? value) 132writer.WriteString(PropName_TypeId, ((global::Aspire.Cli.Commands.Sdk.EnumTypeInfo)value).TypeId); 133writer.WriteString(PropName_Name, ((global::Aspire.Cli.Commands.Sdk.EnumTypeInfo)value).Name); 135ListStringSerializeHandler(writer, ((global::Aspire.Cli.Commands.Sdk.EnumTypeInfo)value).Values);
BackchannelJsonSerializerContext.GetJsonTypeInfo.g.cs (2)
122if (type == typeof(global::Aspire.Cli.Commands.Sdk.EnumTypeInfo)) 298if (type == typeof(global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.EnumTypeInfo>))
BackchannelJsonSerializerContext.ListEnumTypeInfo.g.cs (12)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.EnumTypeInfo>>? _ListEnumTypeInfo; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.EnumTypeInfo>> ListEnumTypeInfo 22get => _ListEnumTypeInfo ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.EnumTypeInfo>>)Options.GetTypeInfo(typeof(global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.EnumTypeInfo>)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.EnumTypeInfo>> Create_ListEnumTypeInfo(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.EnumTypeInfo>>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.EnumTypeInfo>> jsonTypeInfo)) 29var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.EnumTypeInfo>> 31ObjectCreator = () => new global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.EnumTypeInfo>(), 35jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateListInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.EnumTypeInfo>, global::Aspire.Cli.Commands.Sdk.EnumTypeInfo>(options, info); 45private void ListEnumTypeInfoSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.EnumTypeInfo>? value)
CapabilitiesJsonContext.CapabilitiesInfo.g.cs (4)
117var info3 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.EnumTypeInfo>> 132AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Commands.Sdk.CapabilitiesInfo).GetProperty("EnumTypes", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.EnumTypeInfo>), global::System.Array.Empty<global::System.Type>(), null), 135properties[3] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.EnumTypeInfo>>(options, info3); 194global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.EnumTypeInfo> __value_EnumTypes = ((global::Aspire.Cli.Commands.Sdk.CapabilitiesInfo)value).EnumTypes;
CapabilitiesJsonContext.EnumTypeInfo.g.cs (26)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Commands.Sdk.EnumTypeInfo>? _EnumTypeInfo; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Commands.Sdk.EnumTypeInfo> EnumTypeInfo 22get => _EnumTypeInfo ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Commands.Sdk.EnumTypeInfo>)Options.GetTypeInfo(typeof(global::Aspire.Cli.Commands.Sdk.EnumTypeInfo)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Commands.Sdk.EnumTypeInfo> Create_EnumTypeInfo(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::Aspire.Cli.Commands.Sdk.EnumTypeInfo>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Commands.Sdk.EnumTypeInfo> jsonTypeInfo)) 29var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Aspire.Cli.Commands.Sdk.EnumTypeInfo> 35ConstructorAttributeProviderFactory = static () => typeof(global::Aspire.Cli.Commands.Sdk.EnumTypeInfo).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null), 39jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Aspire.Cli.Commands.Sdk.EnumTypeInfo>(options, objectInfo); 56DeclaringType = typeof(global::Aspire.Cli.Commands.Sdk.EnumTypeInfo), 58Getter = static obj => ((global::Aspire.Cli.Commands.Sdk.EnumTypeInfo)obj).TypeId, 59Setter = static (obj, value) => ((global::Aspire.Cli.Commands.Sdk.EnumTypeInfo)obj).TypeId = value!, 66AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Commands.Sdk.EnumTypeInfo).GetProperty("TypeId", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 78DeclaringType = typeof(global::Aspire.Cli.Commands.Sdk.EnumTypeInfo), 80Getter = static obj => ((global::Aspire.Cli.Commands.Sdk.EnumTypeInfo)obj).Name, 81Setter = static (obj, value) => ((global::Aspire.Cli.Commands.Sdk.EnumTypeInfo)obj).Name = value!, 88AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Commands.Sdk.EnumTypeInfo).GetProperty("Name", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 100DeclaringType = typeof(global::Aspire.Cli.Commands.Sdk.EnumTypeInfo), 102Getter = static obj => ((global::Aspire.Cli.Commands.Sdk.EnumTypeInfo)obj).Values, 103Setter = static (obj, value) => ((global::Aspire.Cli.Commands.Sdk.EnumTypeInfo)obj).Values = value!, 110AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Commands.Sdk.EnumTypeInfo).GetProperty("Values", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.List<string>), global::System.Array.Empty<global::System.Type>(), null), 122private void EnumTypeInfoSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Aspire.Cli.Commands.Sdk.EnumTypeInfo? value) 132string __value_TypeId = ((global::Aspire.Cli.Commands.Sdk.EnumTypeInfo)value).TypeId; 137string __value_Name = ((global::Aspire.Cli.Commands.Sdk.EnumTypeInfo)value).Name; 142global::System.Collections.Generic.List<string> __value_Values = ((global::Aspire.Cli.Commands.Sdk.EnumTypeInfo)value).Values;
CapabilitiesJsonContext.GetJsonTypeInfo.g.cs (2)
50if (type == typeof(global::Aspire.Cli.Commands.Sdk.EnumTypeInfo)) 86if (type == typeof(global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.EnumTypeInfo>))
CapabilitiesJsonContext.ListEnumTypeInfo.g.cs (12)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.EnumTypeInfo>>? _ListEnumTypeInfo; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.EnumTypeInfo>> ListEnumTypeInfo 22get => _ListEnumTypeInfo ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.EnumTypeInfo>>)Options.GetTypeInfo(typeof(global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.EnumTypeInfo>)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.EnumTypeInfo>> Create_ListEnumTypeInfo(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.EnumTypeInfo>>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.EnumTypeInfo>> jsonTypeInfo)) 29var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.EnumTypeInfo>> 31ObjectCreator = () => new global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.EnumTypeInfo>(), 35jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateListInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.EnumTypeInfo>, global::Aspire.Cli.Commands.Sdk.EnumTypeInfo>(options, info); 45private void ListEnumTypeInfoSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.EnumTypeInfo>? value)
Commands\Sdk\SdkDumpCommand.cs (4)
312foreach (var t in capabilities.EnumTypes.OrderBy(t => t.TypeId)) 429foreach (var t in capabilities.EnumTypes.OrderBy(t => t.Name)) 502public List<EnumTypeInfo> EnumTypes { get; set; } = []; 604[JsonSerializable(typeof(EnumTypeInfo))]