2 instantiations of DtoPropertyInfo
aspire (2)
BackchannelJsonSerializerContext.DtoPropertyInfo.g.cs (1)
31ObjectCreator = () => new global::Aspire.Cli.Commands.Sdk.DtoPropertyInfo(),
CapabilitiesJsonContext.DtoPropertyInfo.g.cs (1)
31ObjectCreator = () => new global::Aspire.Cli.Commands.Sdk.DtoPropertyInfo(),
91 references to DtoPropertyInfo
aspire (91)
BackchannelJsonSerializerContext.DtoPropertyInfo.g.cs (26)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Commands.Sdk.DtoPropertyInfo>? _DtoPropertyInfo; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Commands.Sdk.DtoPropertyInfo> DtoPropertyInfo 22get => _DtoPropertyInfo ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Commands.Sdk.DtoPropertyInfo>)Options.GetTypeInfo(typeof(global::Aspire.Cli.Commands.Sdk.DtoPropertyInfo)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Commands.Sdk.DtoPropertyInfo> Create_DtoPropertyInfo(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::Aspire.Cli.Commands.Sdk.DtoPropertyInfo>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Commands.Sdk.DtoPropertyInfo> jsonTypeInfo)) 29var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Aspire.Cli.Commands.Sdk.DtoPropertyInfo> 35ConstructorAttributeProviderFactory = static () => typeof(global::Aspire.Cli.Commands.Sdk.DtoPropertyInfo).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.DtoPropertyInfo>(options, objectInfo); 56DeclaringType = typeof(global::Aspire.Cli.Commands.Sdk.DtoPropertyInfo), 58Getter = static obj => ((global::Aspire.Cli.Commands.Sdk.DtoPropertyInfo)obj).Name, 59Setter = static (obj, value) => ((global::Aspire.Cli.Commands.Sdk.DtoPropertyInfo)obj).Name = value!, 66AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Commands.Sdk.DtoPropertyInfo).GetProperty("Name", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 78DeclaringType = typeof(global::Aspire.Cli.Commands.Sdk.DtoPropertyInfo), 80Getter = static obj => ((global::Aspire.Cli.Commands.Sdk.DtoPropertyInfo)obj).Type, 81Setter = static (obj, value) => ((global::Aspire.Cli.Commands.Sdk.DtoPropertyInfo)obj).Type = value!, 88AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Commands.Sdk.DtoPropertyInfo).GetProperty("Type", InstanceMemberBindingFlags, null, typeof(global::Aspire.Cli.Commands.Sdk.TypeRefInfo), global::System.Array.Empty<global::System.Type>(), null), 98DeclaringType = typeof(global::Aspire.Cli.Commands.Sdk.DtoPropertyInfo), 100Getter = static obj => ((global::Aspire.Cli.Commands.Sdk.DtoPropertyInfo)obj).IsOptional, 101Setter = static (obj, value) => ((global::Aspire.Cli.Commands.Sdk.DtoPropertyInfo)obj).IsOptional = value!, 108AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Commands.Sdk.DtoPropertyInfo).GetProperty("IsOptional", InstanceMemberBindingFlags, null, typeof(bool), global::System.Array.Empty<global::System.Type>(), null), 118private void DtoPropertyInfoSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Aspire.Cli.Commands.Sdk.DtoPropertyInfo? value) 128writer.WriteString(PropName_Name, ((global::Aspire.Cli.Commands.Sdk.DtoPropertyInfo)value).Name); 130TypeRefInfoSerializeHandler(writer, ((global::Aspire.Cli.Commands.Sdk.DtoPropertyInfo)value).Type); 131writer.WriteBoolean(PropName_IsOptional, ((global::Aspire.Cli.Commands.Sdk.DtoPropertyInfo)value).IsOptional);
BackchannelJsonSerializerContext.DtoTypeInfo.g.cs (3)
95var info2 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.DtoPropertyInfo>> 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), 113properties[2] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.DtoPropertyInfo>>(options, info2);
BackchannelJsonSerializerContext.GetJsonTypeInfo.g.cs (2)
114if (type == typeof(global::Aspire.Cli.Commands.Sdk.DtoPropertyInfo)) 290if (type == typeof(global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.DtoPropertyInfo>))
BackchannelJsonSerializerContext.ListDtoPropertyInfo.g.cs (12)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.DtoPropertyInfo>>? _ListDtoPropertyInfo; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.DtoPropertyInfo>> ListDtoPropertyInfo 22get => _ListDtoPropertyInfo ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.DtoPropertyInfo>>)Options.GetTypeInfo(typeof(global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.DtoPropertyInfo>)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.DtoPropertyInfo>> Create_ListDtoPropertyInfo(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.DtoPropertyInfo>>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.DtoPropertyInfo>> jsonTypeInfo)) 29var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.DtoPropertyInfo>> 31ObjectCreator = () => new global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.DtoPropertyInfo>(), 35jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateListInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.DtoPropertyInfo>, global::Aspire.Cli.Commands.Sdk.DtoPropertyInfo>(options, info); 45private void ListDtoPropertyInfoSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.DtoPropertyInfo>? value)
CapabilitiesJsonContext.DtoPropertyInfo.g.cs (26)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Commands.Sdk.DtoPropertyInfo>? _DtoPropertyInfo; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Commands.Sdk.DtoPropertyInfo> DtoPropertyInfo 22get => _DtoPropertyInfo ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Commands.Sdk.DtoPropertyInfo>)Options.GetTypeInfo(typeof(global::Aspire.Cli.Commands.Sdk.DtoPropertyInfo)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Commands.Sdk.DtoPropertyInfo> Create_DtoPropertyInfo(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::Aspire.Cli.Commands.Sdk.DtoPropertyInfo>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Commands.Sdk.DtoPropertyInfo> jsonTypeInfo)) 29var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Aspire.Cli.Commands.Sdk.DtoPropertyInfo> 35ConstructorAttributeProviderFactory = static () => typeof(global::Aspire.Cli.Commands.Sdk.DtoPropertyInfo).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.DtoPropertyInfo>(options, objectInfo); 56DeclaringType = typeof(global::Aspire.Cli.Commands.Sdk.DtoPropertyInfo), 58Getter = static obj => ((global::Aspire.Cli.Commands.Sdk.DtoPropertyInfo)obj).Name, 59Setter = static (obj, value) => ((global::Aspire.Cli.Commands.Sdk.DtoPropertyInfo)obj).Name = value!, 66AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Commands.Sdk.DtoPropertyInfo).GetProperty("Name", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 78DeclaringType = typeof(global::Aspire.Cli.Commands.Sdk.DtoPropertyInfo), 80Getter = static obj => ((global::Aspire.Cli.Commands.Sdk.DtoPropertyInfo)obj).Type, 81Setter = static (obj, value) => ((global::Aspire.Cli.Commands.Sdk.DtoPropertyInfo)obj).Type = value!, 88AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Commands.Sdk.DtoPropertyInfo).GetProperty("Type", InstanceMemberBindingFlags, null, typeof(global::Aspire.Cli.Commands.Sdk.TypeRefInfo), global::System.Array.Empty<global::System.Type>(), null), 98DeclaringType = typeof(global::Aspire.Cli.Commands.Sdk.DtoPropertyInfo), 100Getter = static obj => ((global::Aspire.Cli.Commands.Sdk.DtoPropertyInfo)obj).IsOptional, 101Setter = static (obj, value) => ((global::Aspire.Cli.Commands.Sdk.DtoPropertyInfo)obj).IsOptional = value!, 108AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Commands.Sdk.DtoPropertyInfo).GetProperty("IsOptional", InstanceMemberBindingFlags, null, typeof(bool), global::System.Array.Empty<global::System.Type>(), null), 118private void DtoPropertyInfoSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Aspire.Cli.Commands.Sdk.DtoPropertyInfo? value) 128string __value_Name = ((global::Aspire.Cli.Commands.Sdk.DtoPropertyInfo)value).Name; 133global::Aspire.Cli.Commands.Sdk.TypeRefInfo __value_Type = ((global::Aspire.Cli.Commands.Sdk.DtoPropertyInfo)value).Type; 139writer.WriteBoolean(PropName_IsOptional, ((global::Aspire.Cli.Commands.Sdk.DtoPropertyInfo)value).IsOptional);
CapabilitiesJsonContext.DtoTypeInfo.g.cs (4)
95var info2 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.DtoPropertyInfo>> 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), 113properties[2] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.DtoPropertyInfo>>(options, info2); 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)
42if (type == typeof(global::Aspire.Cli.Commands.Sdk.DtoPropertyInfo)) 78if (type == typeof(global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.DtoPropertyInfo>))
CapabilitiesJsonContext.ListDtoPropertyInfo.g.cs (12)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.DtoPropertyInfo>>? _ListDtoPropertyInfo; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.DtoPropertyInfo>> ListDtoPropertyInfo 22get => _ListDtoPropertyInfo ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.DtoPropertyInfo>>)Options.GetTypeInfo(typeof(global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.DtoPropertyInfo>)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.DtoPropertyInfo>> Create_ListDtoPropertyInfo(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.DtoPropertyInfo>>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.DtoPropertyInfo>> jsonTypeInfo)) 29var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.DtoPropertyInfo>> 31ObjectCreator = () => new global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.DtoPropertyInfo>(), 35jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateListInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.DtoPropertyInfo>, global::Aspire.Cli.Commands.Sdk.DtoPropertyInfo>(options, info); 45private void ListDtoPropertyInfoSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.DtoPropertyInfo>? value)
Commands\Sdk\SdkDumpCommand.cs (4)
299foreach (var p in t.Properties.OrderBy(p => p.Name)) 412foreach (var p in t.Properties.OrderBy(p => p.Name)) 567public List<DtoPropertyInfo> Properties { get; set; } = []; 603[JsonSerializable(typeof(DtoPropertyInfo))]