2 instantiations of DtoTypeInfo
aspire (2)
BackchannelJsonSerializerContext.DtoTypeInfo.g.cs (1)
31ObjectCreator = () => new global::Aspire.Cli.Commands.Sdk.DtoTypeInfo(),
CapabilitiesJsonContext.DtoTypeInfo.g.cs (1)
31ObjectCreator = () => new global::Aspire.Cli.Commands.Sdk.DtoTypeInfo(),
91 references to DtoTypeInfo
aspire (91)
BackchannelJsonSerializerContext.CapabilitiesInfo.g.cs (3)
95var info2 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.DtoTypeInfo>> 110AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Commands.Sdk.CapabilitiesInfo).GetProperty("DtoTypes", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.DtoTypeInfo>), global::System.Array.Empty<global::System.Type>(), null), 113properties[2] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.DtoTypeInfo>>(options, info2);
BackchannelJsonSerializerContext.DtoTypeInfo.g.cs (26)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Commands.Sdk.DtoTypeInfo>? _DtoTypeInfo; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Commands.Sdk.DtoTypeInfo> DtoTypeInfo 22get => _DtoTypeInfo ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Commands.Sdk.DtoTypeInfo>)Options.GetTypeInfo(typeof(global::Aspire.Cli.Commands.Sdk.DtoTypeInfo)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Commands.Sdk.DtoTypeInfo> Create_DtoTypeInfo(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::Aspire.Cli.Commands.Sdk.DtoTypeInfo>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Commands.Sdk.DtoTypeInfo> jsonTypeInfo)) 29var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Aspire.Cli.Commands.Sdk.DtoTypeInfo> 35ConstructorAttributeProviderFactory = static () => typeof(global::Aspire.Cli.Commands.Sdk.DtoTypeInfo).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.DtoTypeInfo>(options, objectInfo); 56DeclaringType = typeof(global::Aspire.Cli.Commands.Sdk.DtoTypeInfo), 58Getter = static obj => ((global::Aspire.Cli.Commands.Sdk.DtoTypeInfo)obj).TypeId, 59Setter = static (obj, value) => ((global::Aspire.Cli.Commands.Sdk.DtoTypeInfo)obj).TypeId = value!, 66AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Commands.Sdk.DtoTypeInfo).GetProperty("TypeId", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 78DeclaringType = typeof(global::Aspire.Cli.Commands.Sdk.DtoTypeInfo), 80Getter = static obj => ((global::Aspire.Cli.Commands.Sdk.DtoTypeInfo)obj).Name, 81Setter = static (obj, value) => ((global::Aspire.Cli.Commands.Sdk.DtoTypeInfo)obj).Name = value!, 88AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Commands.Sdk.DtoTypeInfo).GetProperty("Name", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 100DeclaringType = typeof(global::Aspire.Cli.Commands.Sdk.DtoTypeInfo), 102Getter = static obj => ((global::Aspire.Cli.Commands.Sdk.DtoTypeInfo)obj).Properties, 103Setter = static (obj, value) => ((global::Aspire.Cli.Commands.Sdk.DtoTypeInfo)obj).Properties = value!, 110AttributeProviderFactory = 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), 122private void DtoTypeInfoSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Aspire.Cli.Commands.Sdk.DtoTypeInfo? value) 132writer.WriteString(PropName_TypeId, ((global::Aspire.Cli.Commands.Sdk.DtoTypeInfo)value).TypeId); 133writer.WriteString(PropName_Name, ((global::Aspire.Cli.Commands.Sdk.DtoTypeInfo)value).Name); 135ListDtoPropertyInfoSerializeHandler(writer, ((global::Aspire.Cli.Commands.Sdk.DtoTypeInfo)value).Properties);
BackchannelJsonSerializerContext.GetJsonTypeInfo.g.cs (2)
118if (type == typeof(global::Aspire.Cli.Commands.Sdk.DtoTypeInfo)) 294if (type == typeof(global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.DtoTypeInfo>))
BackchannelJsonSerializerContext.ListDtoTypeInfo.g.cs (12)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.DtoTypeInfo>>? _ListDtoTypeInfo; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.DtoTypeInfo>> ListDtoTypeInfo 22get => _ListDtoTypeInfo ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.DtoTypeInfo>>)Options.GetTypeInfo(typeof(global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.DtoTypeInfo>)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.DtoTypeInfo>> Create_ListDtoTypeInfo(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.DtoTypeInfo>>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.DtoTypeInfo>> jsonTypeInfo)) 29var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.DtoTypeInfo>> 31ObjectCreator = () => new global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.DtoTypeInfo>(), 35jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateListInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.DtoTypeInfo>, global::Aspire.Cli.Commands.Sdk.DtoTypeInfo>(options, info); 45private void ListDtoTypeInfoSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.DtoTypeInfo>? value)
CapabilitiesJsonContext.CapabilitiesInfo.g.cs (4)
95var info2 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.DtoTypeInfo>> 110AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Commands.Sdk.CapabilitiesInfo).GetProperty("DtoTypes", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.DtoTypeInfo>), global::System.Array.Empty<global::System.Type>(), null), 113properties[2] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.DtoTypeInfo>>(options, info2); 188global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.DtoTypeInfo> __value_DtoTypes = ((global::Aspire.Cli.Commands.Sdk.CapabilitiesInfo)value).DtoTypes;
CapabilitiesJsonContext.DtoTypeInfo.g.cs (26)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Commands.Sdk.DtoTypeInfo>? _DtoTypeInfo; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Commands.Sdk.DtoTypeInfo> DtoTypeInfo 22get => _DtoTypeInfo ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Commands.Sdk.DtoTypeInfo>)Options.GetTypeInfo(typeof(global::Aspire.Cli.Commands.Sdk.DtoTypeInfo)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Commands.Sdk.DtoTypeInfo> Create_DtoTypeInfo(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::Aspire.Cli.Commands.Sdk.DtoTypeInfo>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Commands.Sdk.DtoTypeInfo> jsonTypeInfo)) 29var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Aspire.Cli.Commands.Sdk.DtoTypeInfo> 35ConstructorAttributeProviderFactory = static () => typeof(global::Aspire.Cli.Commands.Sdk.DtoTypeInfo).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.DtoTypeInfo>(options, objectInfo); 56DeclaringType = typeof(global::Aspire.Cli.Commands.Sdk.DtoTypeInfo), 58Getter = static obj => ((global::Aspire.Cli.Commands.Sdk.DtoTypeInfo)obj).TypeId, 59Setter = static (obj, value) => ((global::Aspire.Cli.Commands.Sdk.DtoTypeInfo)obj).TypeId = value!, 66AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Commands.Sdk.DtoTypeInfo).GetProperty("TypeId", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 78DeclaringType = typeof(global::Aspire.Cli.Commands.Sdk.DtoTypeInfo), 80Getter = static obj => ((global::Aspire.Cli.Commands.Sdk.DtoTypeInfo)obj).Name, 81Setter = static (obj, value) => ((global::Aspire.Cli.Commands.Sdk.DtoTypeInfo)obj).Name = value!, 88AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Commands.Sdk.DtoTypeInfo).GetProperty("Name", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 100DeclaringType = typeof(global::Aspire.Cli.Commands.Sdk.DtoTypeInfo), 102Getter = static obj => ((global::Aspire.Cli.Commands.Sdk.DtoTypeInfo)obj).Properties, 103Setter = static (obj, value) => ((global::Aspire.Cli.Commands.Sdk.DtoTypeInfo)obj).Properties = value!, 110AttributeProviderFactory = 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), 122private void DtoTypeInfoSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Aspire.Cli.Commands.Sdk.DtoTypeInfo? value) 132string __value_TypeId = ((global::Aspire.Cli.Commands.Sdk.DtoTypeInfo)value).TypeId; 137string __value_Name = ((global::Aspire.Cli.Commands.Sdk.DtoTypeInfo)value).Name; 142global::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)
46if (type == typeof(global::Aspire.Cli.Commands.Sdk.DtoTypeInfo)) 82if (type == typeof(global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.DtoTypeInfo>))
CapabilitiesJsonContext.ListDtoTypeInfo.g.cs (12)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.DtoTypeInfo>>? _ListDtoTypeInfo; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.DtoTypeInfo>> ListDtoTypeInfo 22get => _ListDtoTypeInfo ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.DtoTypeInfo>>)Options.GetTypeInfo(typeof(global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.DtoTypeInfo>)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.DtoTypeInfo>> Create_ListDtoTypeInfo(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.DtoTypeInfo>>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.DtoTypeInfo>> jsonTypeInfo)) 29var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.DtoTypeInfo>> 31ObjectCreator = () => new global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.DtoTypeInfo>(), 35jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateListInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.DtoTypeInfo>, global::Aspire.Cli.Commands.Sdk.DtoTypeInfo>(options, info); 45private void ListDtoTypeInfoSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.DtoTypeInfo>? value)
Commands\Sdk\SdkDumpCommand.cs (4)
296foreach (var t in capabilities.DtoTypes.OrderBy(t => t.TypeId)) 409foreach (var t in capabilities.DtoTypes.OrderBy(t => t.Name)) 501public List<DtoTypeInfo> DtoTypes { get; set; } = []; 602[JsonSerializable(typeof(DtoTypeInfo))]