2 instantiations of ParameterInfo
aspire (2)
BackchannelJsonSerializerContext.ParameterInfo.g.cs (1)
31ObjectCreator = () => new global::Aspire.Cli.Commands.Sdk.ParameterInfo(),
CapabilitiesJsonContext.ParameterInfo.g.cs (1)
31ObjectCreator = () => new global::Aspire.Cli.Commands.Sdk.ParameterInfo(),
139 references to ParameterInfo
aspire (139)
BackchannelJsonSerializerContext.CapabilityInfo.g.cs (3)
239var info9 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.ParameterInfo>> 254AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Commands.Sdk.CapabilityInfo).GetProperty("Parameters", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.ParameterInfo>), global::System.Array.Empty<global::System.Type>(), null), 257properties[9] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.ParameterInfo>>(options, info9);
BackchannelJsonSerializerContext.GetJsonTypeInfo.g.cs (2)
130if (type == typeof(global::Aspire.Cli.Commands.Sdk.ParameterInfo)) 306if (type == typeof(global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.ParameterInfo>))
BackchannelJsonSerializerContext.ListParameterInfo.g.cs (12)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.ParameterInfo>>? _ListParameterInfo; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.ParameterInfo>> ListParameterInfo 22get => _ListParameterInfo ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.ParameterInfo>>)Options.GetTypeInfo(typeof(global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.ParameterInfo>)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.ParameterInfo>> Create_ListParameterInfo(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.ParameterInfo>>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.ParameterInfo>> jsonTypeInfo)) 29var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.ParameterInfo>> 31ObjectCreator = () => new global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.ParameterInfo>(), 35jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateListInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.ParameterInfo>, global::Aspire.Cli.Commands.Sdk.ParameterInfo>(options, info); 45private void ListParameterInfoSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.ParameterInfo>? value)
BackchannelJsonSerializerContext.ParameterInfo.g.cs (51)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Commands.Sdk.ParameterInfo>? _ParameterInfo; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Commands.Sdk.ParameterInfo> ParameterInfo 22get => _ParameterInfo ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Commands.Sdk.ParameterInfo>)Options.GetTypeInfo(typeof(global::Aspire.Cli.Commands.Sdk.ParameterInfo)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Commands.Sdk.ParameterInfo> Create_ParameterInfo(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::Aspire.Cli.Commands.Sdk.ParameterInfo>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Commands.Sdk.ParameterInfo> jsonTypeInfo)) 29var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Aspire.Cli.Commands.Sdk.ParameterInfo> 35ConstructorAttributeProviderFactory = static () => typeof(global::Aspire.Cli.Commands.Sdk.ParameterInfo).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.ParameterInfo>(options, objectInfo); 56DeclaringType = typeof(global::Aspire.Cli.Commands.Sdk.ParameterInfo), 58Getter = static obj => ((global::Aspire.Cli.Commands.Sdk.ParameterInfo)obj).Name, 59Setter = static (obj, value) => ((global::Aspire.Cli.Commands.Sdk.ParameterInfo)obj).Name = value!, 66AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Commands.Sdk.ParameterInfo).GetProperty("Name", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 78DeclaringType = typeof(global::Aspire.Cli.Commands.Sdk.ParameterInfo), 80Getter = static obj => ((global::Aspire.Cli.Commands.Sdk.ParameterInfo)obj).Type, 81Setter = static (obj, value) => ((global::Aspire.Cli.Commands.Sdk.ParameterInfo)obj).Type = value!, 88AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Commands.Sdk.ParameterInfo).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.ParameterInfo), 100Getter = static obj => ((global::Aspire.Cli.Commands.Sdk.ParameterInfo)obj).IsOptional, 101Setter = static (obj, value) => ((global::Aspire.Cli.Commands.Sdk.ParameterInfo)obj).IsOptional = value!, 108AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Commands.Sdk.ParameterInfo).GetProperty("IsOptional", InstanceMemberBindingFlags, null, typeof(bool), global::System.Array.Empty<global::System.Type>(), null), 118DeclaringType = typeof(global::Aspire.Cli.Commands.Sdk.ParameterInfo), 120Getter = static obj => ((global::Aspire.Cli.Commands.Sdk.ParameterInfo)obj).IsNullable, 121Setter = static (obj, value) => ((global::Aspire.Cli.Commands.Sdk.ParameterInfo)obj).IsNullable = value!, 128AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Commands.Sdk.ParameterInfo).GetProperty("IsNullable", InstanceMemberBindingFlags, null, typeof(bool), global::System.Array.Empty<global::System.Type>(), null), 138DeclaringType = typeof(global::Aspire.Cli.Commands.Sdk.ParameterInfo), 140Getter = static obj => ((global::Aspire.Cli.Commands.Sdk.ParameterInfo)obj).IsCallback, 141Setter = static (obj, value) => ((global::Aspire.Cli.Commands.Sdk.ParameterInfo)obj).IsCallback = value!, 148AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Commands.Sdk.ParameterInfo).GetProperty("IsCallback", InstanceMemberBindingFlags, null, typeof(bool), global::System.Array.Empty<global::System.Type>(), null), 158DeclaringType = typeof(global::Aspire.Cli.Commands.Sdk.ParameterInfo), 160Getter = static obj => ((global::Aspire.Cli.Commands.Sdk.ParameterInfo)obj).CallbackParameters, 161Setter = static (obj, value) => ((global::Aspire.Cli.Commands.Sdk.ParameterInfo)obj).CallbackParameters = value!, 168AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Commands.Sdk.ParameterInfo).GetProperty("CallbackParameters", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.CallbackParameterInfo>), global::System.Array.Empty<global::System.Type>(), null), 178DeclaringType = typeof(global::Aspire.Cli.Commands.Sdk.ParameterInfo), 180Getter = static obj => ((global::Aspire.Cli.Commands.Sdk.ParameterInfo)obj).CallbackReturnType, 181Setter = static (obj, value) => ((global::Aspire.Cli.Commands.Sdk.ParameterInfo)obj).CallbackReturnType = value!, 188AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Commands.Sdk.ParameterInfo).GetProperty("CallbackReturnType", InstanceMemberBindingFlags, null, typeof(global::Aspire.Cli.Commands.Sdk.TypeRefInfo), global::System.Array.Empty<global::System.Type>(), null), 198DeclaringType = typeof(global::Aspire.Cli.Commands.Sdk.ParameterInfo), 200Getter = static obj => ((global::Aspire.Cli.Commands.Sdk.ParameterInfo)obj).DefaultValue, 201Setter = static (obj, value) => ((global::Aspire.Cli.Commands.Sdk.ParameterInfo)obj).DefaultValue = value!, 208AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Commands.Sdk.ParameterInfo).GetProperty("DefaultValue", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 218private void ParameterInfoSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Aspire.Cli.Commands.Sdk.ParameterInfo? value) 228writer.WriteString(PropName_Name, ((global::Aspire.Cli.Commands.Sdk.ParameterInfo)value).Name); 230TypeRefInfoSerializeHandler(writer, ((global::Aspire.Cli.Commands.Sdk.ParameterInfo)value).Type); 231writer.WriteBoolean(PropName_IsOptional, ((global::Aspire.Cli.Commands.Sdk.ParameterInfo)value).IsOptional); 232writer.WriteBoolean(PropName_IsNullable, ((global::Aspire.Cli.Commands.Sdk.ParameterInfo)value).IsNullable); 233writer.WriteBoolean(PropName_IsCallback, ((global::Aspire.Cli.Commands.Sdk.ParameterInfo)value).IsCallback); 235ListCallbackParameterInfoSerializeHandler(writer, ((global::Aspire.Cli.Commands.Sdk.ParameterInfo)value).CallbackParameters); 237TypeRefInfoSerializeHandler(writer, ((global::Aspire.Cli.Commands.Sdk.ParameterInfo)value).CallbackReturnType); 238writer.WriteString(PropName_DefaultValue, ((global::Aspire.Cli.Commands.Sdk.ParameterInfo)value).DefaultValue);
CapabilitiesJsonContext.CapabilityInfo.g.cs (4)
239var info9 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.ParameterInfo>> 254AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Commands.Sdk.CapabilityInfo).GetProperty("Parameters", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.ParameterInfo>), global::System.Array.Empty<global::System.Type>(), null), 257properties[9] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.ParameterInfo>>(options, info9); 379global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.ParameterInfo> __value_Parameters = ((global::Aspire.Cli.Commands.Sdk.CapabilityInfo)value).Parameters;
CapabilitiesJsonContext.GetJsonTypeInfo.g.cs (2)
58if (type == typeof(global::Aspire.Cli.Commands.Sdk.ParameterInfo)) 94if (type == typeof(global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.ParameterInfo>))
CapabilitiesJsonContext.ListParameterInfo.g.cs (12)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.ParameterInfo>>? _ListParameterInfo; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.ParameterInfo>> ListParameterInfo 22get => _ListParameterInfo ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.ParameterInfo>>)Options.GetTypeInfo(typeof(global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.ParameterInfo>)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.ParameterInfo>> Create_ListParameterInfo(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.ParameterInfo>>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.ParameterInfo>> jsonTypeInfo)) 29var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.ParameterInfo>> 31ObjectCreator = () => new global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.ParameterInfo>(), 35jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateListInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.ParameterInfo>, global::Aspire.Cli.Commands.Sdk.ParameterInfo>(options, info); 45private void ListParameterInfoSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.ParameterInfo>? value)
CapabilitiesJsonContext.ParameterInfo.g.cs (51)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Commands.Sdk.ParameterInfo>? _ParameterInfo; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Commands.Sdk.ParameterInfo> ParameterInfo 22get => _ParameterInfo ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Commands.Sdk.ParameterInfo>)Options.GetTypeInfo(typeof(global::Aspire.Cli.Commands.Sdk.ParameterInfo)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Commands.Sdk.ParameterInfo> Create_ParameterInfo(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::Aspire.Cli.Commands.Sdk.ParameterInfo>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Commands.Sdk.ParameterInfo> jsonTypeInfo)) 29var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Aspire.Cli.Commands.Sdk.ParameterInfo> 35ConstructorAttributeProviderFactory = static () => typeof(global::Aspire.Cli.Commands.Sdk.ParameterInfo).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.ParameterInfo>(options, objectInfo); 56DeclaringType = typeof(global::Aspire.Cli.Commands.Sdk.ParameterInfo), 58Getter = static obj => ((global::Aspire.Cli.Commands.Sdk.ParameterInfo)obj).Name, 59Setter = static (obj, value) => ((global::Aspire.Cli.Commands.Sdk.ParameterInfo)obj).Name = value!, 66AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Commands.Sdk.ParameterInfo).GetProperty("Name", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 78DeclaringType = typeof(global::Aspire.Cli.Commands.Sdk.ParameterInfo), 80Getter = static obj => ((global::Aspire.Cli.Commands.Sdk.ParameterInfo)obj).Type, 81Setter = static (obj, value) => ((global::Aspire.Cli.Commands.Sdk.ParameterInfo)obj).Type = value!, 88AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Commands.Sdk.ParameterInfo).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.ParameterInfo), 100Getter = static obj => ((global::Aspire.Cli.Commands.Sdk.ParameterInfo)obj).IsOptional, 101Setter = static (obj, value) => ((global::Aspire.Cli.Commands.Sdk.ParameterInfo)obj).IsOptional = value!, 108AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Commands.Sdk.ParameterInfo).GetProperty("IsOptional", InstanceMemberBindingFlags, null, typeof(bool), global::System.Array.Empty<global::System.Type>(), null), 118DeclaringType = typeof(global::Aspire.Cli.Commands.Sdk.ParameterInfo), 120Getter = static obj => ((global::Aspire.Cli.Commands.Sdk.ParameterInfo)obj).IsNullable, 121Setter = static (obj, value) => ((global::Aspire.Cli.Commands.Sdk.ParameterInfo)obj).IsNullable = value!, 128AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Commands.Sdk.ParameterInfo).GetProperty("IsNullable", InstanceMemberBindingFlags, null, typeof(bool), global::System.Array.Empty<global::System.Type>(), null), 138DeclaringType = typeof(global::Aspire.Cli.Commands.Sdk.ParameterInfo), 140Getter = static obj => ((global::Aspire.Cli.Commands.Sdk.ParameterInfo)obj).IsCallback, 141Setter = static (obj, value) => ((global::Aspire.Cli.Commands.Sdk.ParameterInfo)obj).IsCallback = value!, 148AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Commands.Sdk.ParameterInfo).GetProperty("IsCallback", InstanceMemberBindingFlags, null, typeof(bool), global::System.Array.Empty<global::System.Type>(), null), 158DeclaringType = typeof(global::Aspire.Cli.Commands.Sdk.ParameterInfo), 160Getter = static obj => ((global::Aspire.Cli.Commands.Sdk.ParameterInfo)obj).CallbackParameters, 161Setter = static (obj, value) => ((global::Aspire.Cli.Commands.Sdk.ParameterInfo)obj).CallbackParameters = value!, 168AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Commands.Sdk.ParameterInfo).GetProperty("CallbackParameters", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.CallbackParameterInfo>), global::System.Array.Empty<global::System.Type>(), null), 178DeclaringType = typeof(global::Aspire.Cli.Commands.Sdk.ParameterInfo), 180Getter = static obj => ((global::Aspire.Cli.Commands.Sdk.ParameterInfo)obj).CallbackReturnType, 181Setter = static (obj, value) => ((global::Aspire.Cli.Commands.Sdk.ParameterInfo)obj).CallbackReturnType = value!, 188AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Commands.Sdk.ParameterInfo).GetProperty("CallbackReturnType", InstanceMemberBindingFlags, null, typeof(global::Aspire.Cli.Commands.Sdk.TypeRefInfo), global::System.Array.Empty<global::System.Type>(), null), 198DeclaringType = typeof(global::Aspire.Cli.Commands.Sdk.ParameterInfo), 200Getter = static obj => ((global::Aspire.Cli.Commands.Sdk.ParameterInfo)obj).DefaultValue, 201Setter = static (obj, value) => ((global::Aspire.Cli.Commands.Sdk.ParameterInfo)obj).DefaultValue = value!, 208AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Commands.Sdk.ParameterInfo).GetProperty("DefaultValue", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 218private void ParameterInfoSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Aspire.Cli.Commands.Sdk.ParameterInfo? value) 228string __value_Name = ((global::Aspire.Cli.Commands.Sdk.ParameterInfo)value).Name; 233global::Aspire.Cli.Commands.Sdk.TypeRefInfo __value_Type = ((global::Aspire.Cli.Commands.Sdk.ParameterInfo)value).Type; 239writer.WriteBoolean(PropName_IsOptional, ((global::Aspire.Cli.Commands.Sdk.ParameterInfo)value).IsOptional); 240writer.WriteBoolean(PropName_IsNullable, ((global::Aspire.Cli.Commands.Sdk.ParameterInfo)value).IsNullable); 241writer.WriteBoolean(PropName_IsCallback, ((global::Aspire.Cli.Commands.Sdk.ParameterInfo)value).IsCallback); 242global::System.Collections.Generic.List<global::Aspire.Cli.Commands.Sdk.CallbackParameterInfo> __value_CallbackParameters = ((global::Aspire.Cli.Commands.Sdk.ParameterInfo)value).CallbackParameters; 248global::Aspire.Cli.Commands.Sdk.TypeRefInfo __value_CallbackReturnType = ((global::Aspire.Cli.Commands.Sdk.ParameterInfo)value).CallbackReturnType; 254string __value_DefaultValue = ((global::Aspire.Cli.Commands.Sdk.ParameterInfo)value).DefaultValue;
Commands\Sdk\SdkDumpCommand.cs (2)
517public List<ParameterInfo> Parameters { get; set; } = []; 598[JsonSerializable(typeof(ParameterInfo))]