2 instantiations of HandleTypeInfo
aspire (2)
BackchannelJsonSerializerContext.HandleTypeInfo.g.cs (1)
31ObjectCreator = () => new global::Aspire.Cli.Commands.Sdk.HandleTypeInfo(),
CapabilitiesJsonContext.HandleTypeInfo.g.cs (1)
31ObjectCreator = () => new global::Aspire.Cli.Commands.Sdk.HandleTypeInfo(),
121 references to HandleTypeInfo
aspire (121)
BackchannelJsonSerializerContext.CapabilitiesInfo.g.cs (3)
73var info1 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.HandleTypeInfo>> 88AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Commands.Sdk.CapabilitiesInfo).GetProperty("HandleTypes", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.HandleTypeInfo>), global::System.Array.Empty<global::System.Type>(), null), 91properties[1] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.HandleTypeInfo>>(options, info1);
BackchannelJsonSerializerContext.GetJsonTypeInfo.g.cs (2)
126if (type == typeof(global::Aspire.Cli.Commands.Sdk.HandleTypeInfo)) 302if (type == typeof(global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.HandleTypeInfo>))
BackchannelJsonSerializerContext.HandleTypeInfo.g.cs (41)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Commands.Sdk.HandleTypeInfo>? _HandleTypeInfo; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Commands.Sdk.HandleTypeInfo> HandleTypeInfo 22get => _HandleTypeInfo ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Commands.Sdk.HandleTypeInfo>)Options.GetTypeInfo(typeof(global::Aspire.Cli.Commands.Sdk.HandleTypeInfo)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Commands.Sdk.HandleTypeInfo> Create_HandleTypeInfo(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::Aspire.Cli.Commands.Sdk.HandleTypeInfo>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Commands.Sdk.HandleTypeInfo> jsonTypeInfo)) 29var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Aspire.Cli.Commands.Sdk.HandleTypeInfo> 35ConstructorAttributeProviderFactory = static () => typeof(global::Aspire.Cli.Commands.Sdk.HandleTypeInfo).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.HandleTypeInfo>(options, objectInfo); 56DeclaringType = typeof(global::Aspire.Cli.Commands.Sdk.HandleTypeInfo), 58Getter = static obj => ((global::Aspire.Cli.Commands.Sdk.HandleTypeInfo)obj).AtsTypeId, 59Setter = static (obj, value) => ((global::Aspire.Cli.Commands.Sdk.HandleTypeInfo)obj).AtsTypeId = value!, 66AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Commands.Sdk.HandleTypeInfo).GetProperty("AtsTypeId", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 78DeclaringType = typeof(global::Aspire.Cli.Commands.Sdk.HandleTypeInfo), 80Getter = static obj => ((global::Aspire.Cli.Commands.Sdk.HandleTypeInfo)obj).IsInterface, 81Setter = static (obj, value) => ((global::Aspire.Cli.Commands.Sdk.HandleTypeInfo)obj).IsInterface = value!, 88AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Commands.Sdk.HandleTypeInfo).GetProperty("IsInterface", InstanceMemberBindingFlags, null, typeof(bool), global::System.Array.Empty<global::System.Type>(), null), 98DeclaringType = typeof(global::Aspire.Cli.Commands.Sdk.HandleTypeInfo), 100Getter = static obj => ((global::Aspire.Cli.Commands.Sdk.HandleTypeInfo)obj).ExposeProperties, 101Setter = static (obj, value) => ((global::Aspire.Cli.Commands.Sdk.HandleTypeInfo)obj).ExposeProperties = value!, 108AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Commands.Sdk.HandleTypeInfo).GetProperty("ExposeProperties", InstanceMemberBindingFlags, null, typeof(bool), global::System.Array.Empty<global::System.Type>(), null), 118DeclaringType = typeof(global::Aspire.Cli.Commands.Sdk.HandleTypeInfo), 120Getter = static obj => ((global::Aspire.Cli.Commands.Sdk.HandleTypeInfo)obj).ExposeMethods, 121Setter = static (obj, value) => ((global::Aspire.Cli.Commands.Sdk.HandleTypeInfo)obj).ExposeMethods = value!, 128AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Commands.Sdk.HandleTypeInfo).GetProperty("ExposeMethods", InstanceMemberBindingFlags, null, typeof(bool), global::System.Array.Empty<global::System.Type>(), null), 138DeclaringType = typeof(global::Aspire.Cli.Commands.Sdk.HandleTypeInfo), 140Getter = static obj => ((global::Aspire.Cli.Commands.Sdk.HandleTypeInfo)obj).ImplementedInterfaces, 141Setter = static (obj, value) => ((global::Aspire.Cli.Commands.Sdk.HandleTypeInfo)obj).ImplementedInterfaces = value!, 148AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Commands.Sdk.HandleTypeInfo).GetProperty("ImplementedInterfaces", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.TypeRefInfo>), global::System.Array.Empty<global::System.Type>(), null), 160DeclaringType = typeof(global::Aspire.Cli.Commands.Sdk.HandleTypeInfo), 162Getter = static obj => ((global::Aspire.Cli.Commands.Sdk.HandleTypeInfo)obj).BaseTypeHierarchy, 163Setter = static (obj, value) => ((global::Aspire.Cli.Commands.Sdk.HandleTypeInfo)obj).BaseTypeHierarchy = value!, 170AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Commands.Sdk.HandleTypeInfo).GetProperty("BaseTypeHierarchy", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.TypeRefInfo>), global::System.Array.Empty<global::System.Type>(), null), 182private void HandleTypeInfoSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Aspire.Cli.Commands.Sdk.HandleTypeInfo? value) 192writer.WriteString(PropName_AtsTypeId, ((global::Aspire.Cli.Commands.Sdk.HandleTypeInfo)value).AtsTypeId); 193writer.WriteBoolean(PropName_IsInterface, ((global::Aspire.Cli.Commands.Sdk.HandleTypeInfo)value).IsInterface); 194writer.WriteBoolean(PropName_ExposeProperties, ((global::Aspire.Cli.Commands.Sdk.HandleTypeInfo)value).ExposeProperties); 195writer.WriteBoolean(PropName_ExposeMethods, ((global::Aspire.Cli.Commands.Sdk.HandleTypeInfo)value).ExposeMethods); 197ListTypeRefInfoSerializeHandler(writer, ((global::Aspire.Cli.Commands.Sdk.HandleTypeInfo)value).ImplementedInterfaces); 199ListTypeRefInfoSerializeHandler(writer, ((global::Aspire.Cli.Commands.Sdk.HandleTypeInfo)value).BaseTypeHierarchy);
BackchannelJsonSerializerContext.ListHandleTypeInfo.g.cs (12)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.HandleTypeInfo>>? _ListHandleTypeInfo; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.HandleTypeInfo>> ListHandleTypeInfo 22get => _ListHandleTypeInfo ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.HandleTypeInfo>>)Options.GetTypeInfo(typeof(global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.HandleTypeInfo>)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.HandleTypeInfo>> Create_ListHandleTypeInfo(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.HandleTypeInfo>>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.HandleTypeInfo>> jsonTypeInfo)) 29var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.HandleTypeInfo>> 31ObjectCreator = () => new global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.HandleTypeInfo>(), 35jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateListInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.HandleTypeInfo>, global::Aspire.Cli.Commands.Sdk.HandleTypeInfo>(options, info); 45private void ListHandleTypeInfoSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.HandleTypeInfo>? value)
CapabilitiesJsonContext.CapabilitiesInfo.g.cs (4)
73var info1 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.HandleTypeInfo>> 88AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Commands.Sdk.CapabilitiesInfo).GetProperty("HandleTypes", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.HandleTypeInfo>), global::System.Array.Empty<global::System.Type>(), null), 91properties[1] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.HandleTypeInfo>>(options, info1); 182global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.HandleTypeInfo> __value_HandleTypes = ((global::Aspire.Cli.Commands.Sdk.CapabilitiesInfo)value).HandleTypes;
CapabilitiesJsonContext.GetJsonTypeInfo.g.cs (2)
54if (type == typeof(global::Aspire.Cli.Commands.Sdk.HandleTypeInfo)) 90if (type == typeof(global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.HandleTypeInfo>))
CapabilitiesJsonContext.HandleTypeInfo.g.cs (41)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Commands.Sdk.HandleTypeInfo>? _HandleTypeInfo; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Commands.Sdk.HandleTypeInfo> HandleTypeInfo 22get => _HandleTypeInfo ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Commands.Sdk.HandleTypeInfo>)Options.GetTypeInfo(typeof(global::Aspire.Cli.Commands.Sdk.HandleTypeInfo)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Commands.Sdk.HandleTypeInfo> Create_HandleTypeInfo(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::Aspire.Cli.Commands.Sdk.HandleTypeInfo>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Commands.Sdk.HandleTypeInfo> jsonTypeInfo)) 29var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Aspire.Cli.Commands.Sdk.HandleTypeInfo> 35ConstructorAttributeProviderFactory = static () => typeof(global::Aspire.Cli.Commands.Sdk.HandleTypeInfo).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.HandleTypeInfo>(options, objectInfo); 56DeclaringType = typeof(global::Aspire.Cli.Commands.Sdk.HandleTypeInfo), 58Getter = static obj => ((global::Aspire.Cli.Commands.Sdk.HandleTypeInfo)obj).AtsTypeId, 59Setter = static (obj, value) => ((global::Aspire.Cli.Commands.Sdk.HandleTypeInfo)obj).AtsTypeId = value!, 66AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Commands.Sdk.HandleTypeInfo).GetProperty("AtsTypeId", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 78DeclaringType = typeof(global::Aspire.Cli.Commands.Sdk.HandleTypeInfo), 80Getter = static obj => ((global::Aspire.Cli.Commands.Sdk.HandleTypeInfo)obj).IsInterface, 81Setter = static (obj, value) => ((global::Aspire.Cli.Commands.Sdk.HandleTypeInfo)obj).IsInterface = value!, 88AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Commands.Sdk.HandleTypeInfo).GetProperty("IsInterface", InstanceMemberBindingFlags, null, typeof(bool), global::System.Array.Empty<global::System.Type>(), null), 98DeclaringType = typeof(global::Aspire.Cli.Commands.Sdk.HandleTypeInfo), 100Getter = static obj => ((global::Aspire.Cli.Commands.Sdk.HandleTypeInfo)obj).ExposeProperties, 101Setter = static (obj, value) => ((global::Aspire.Cli.Commands.Sdk.HandleTypeInfo)obj).ExposeProperties = value!, 108AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Commands.Sdk.HandleTypeInfo).GetProperty("ExposeProperties", InstanceMemberBindingFlags, null, typeof(bool), global::System.Array.Empty<global::System.Type>(), null), 118DeclaringType = typeof(global::Aspire.Cli.Commands.Sdk.HandleTypeInfo), 120Getter = static obj => ((global::Aspire.Cli.Commands.Sdk.HandleTypeInfo)obj).ExposeMethods, 121Setter = static (obj, value) => ((global::Aspire.Cli.Commands.Sdk.HandleTypeInfo)obj).ExposeMethods = value!, 128AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Commands.Sdk.HandleTypeInfo).GetProperty("ExposeMethods", InstanceMemberBindingFlags, null, typeof(bool), global::System.Array.Empty<global::System.Type>(), null), 138DeclaringType = typeof(global::Aspire.Cli.Commands.Sdk.HandleTypeInfo), 140Getter = static obj => ((global::Aspire.Cli.Commands.Sdk.HandleTypeInfo)obj).ImplementedInterfaces, 141Setter = static (obj, value) => ((global::Aspire.Cli.Commands.Sdk.HandleTypeInfo)obj).ImplementedInterfaces = value!, 148AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Commands.Sdk.HandleTypeInfo).GetProperty("ImplementedInterfaces", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.TypeRefInfo>), global::System.Array.Empty<global::System.Type>(), null), 160DeclaringType = typeof(global::Aspire.Cli.Commands.Sdk.HandleTypeInfo), 162Getter = static obj => ((global::Aspire.Cli.Commands.Sdk.HandleTypeInfo)obj).BaseTypeHierarchy, 163Setter = static (obj, value) => ((global::Aspire.Cli.Commands.Sdk.HandleTypeInfo)obj).BaseTypeHierarchy = value!, 170AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Commands.Sdk.HandleTypeInfo).GetProperty("BaseTypeHierarchy", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.TypeRefInfo>), global::System.Array.Empty<global::System.Type>(), null), 182private void HandleTypeInfoSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Aspire.Cli.Commands.Sdk.HandleTypeInfo? value) 192string __value_AtsTypeId = ((global::Aspire.Cli.Commands.Sdk.HandleTypeInfo)value).AtsTypeId; 197writer.WriteBoolean(PropName_IsInterface, ((global::Aspire.Cli.Commands.Sdk.HandleTypeInfo)value).IsInterface); 198writer.WriteBoolean(PropName_ExposeProperties, ((global::Aspire.Cli.Commands.Sdk.HandleTypeInfo)value).ExposeProperties); 199writer.WriteBoolean(PropName_ExposeMethods, ((global::Aspire.Cli.Commands.Sdk.HandleTypeInfo)value).ExposeMethods); 200global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.TypeRefInfo> __value_ImplementedInterfaces = ((global::Aspire.Cli.Commands.Sdk.HandleTypeInfo)value).ImplementedInterfaces; 206global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.TypeRefInfo> __value_BaseTypeHierarchy = ((global::Aspire.Cli.Commands.Sdk.HandleTypeInfo)value).BaseTypeHierarchy;
CapabilitiesJsonContext.ListHandleTypeInfo.g.cs (12)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.HandleTypeInfo>>? _ListHandleTypeInfo; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.HandleTypeInfo>> ListHandleTypeInfo 22get => _ListHandleTypeInfo ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.HandleTypeInfo>>)Options.GetTypeInfo(typeof(global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.HandleTypeInfo>)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.HandleTypeInfo>> Create_ListHandleTypeInfo(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.HandleTypeInfo>>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.HandleTypeInfo>> jsonTypeInfo)) 29var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.HandleTypeInfo>> 31ObjectCreator = () => new global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.HandleTypeInfo>(), 35jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateListInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.HandleTypeInfo>, global::Aspire.Cli.Commands.Sdk.HandleTypeInfo>(options, info); 45private void ListHandleTypeInfoSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.HandleTypeInfo>? value)
Commands\Sdk\SdkDumpCommand.cs (4)
272foreach (var t in capabilities.HandleTypes.OrderBy(t => t.AtsTypeId)) 379foreach (var t in capabilities.HandleTypes.OrderBy(t => t.AtsTypeId)) 500public List<HandleTypeInfo> HandleTypes { get; set; } = []; 601[JsonSerializable(typeof(HandleTypeInfo))]