2 instantiations of PackageInfo
aspire-nuget (2)
Commands\SearchCommand.cs (1)
264packages.Add(new PackageInfo
SearchJsonContext.PackageInfo.g.cs (1)
31ObjectCreator = () => new global::Aspire.Cli.NuGetHelper.Commands.PackageInfo(),
72 references to PackageInfo
aspire-nuget (72)
Commands\SearchCommand.cs (8)
117var allPackages = new List<PackageInfo>(); 146return new List<PackageInfo>(); 234private static async Task<List<PackageInfo>> SearchSourceAsync( 258var packages = new List<PackageInfo>(); 279private static void OutputResults(List<PackageInfo> packages, string format) 292foreach (var pkg in packages) 314public List<PackageInfo> Packages { get; set; } = []; 341[JsonSerializable(typeof(PackageInfo))]
SearchJsonContext.GetJsonTypeInfo.g.cs (2)
26if (type == typeof(global::Aspire.Cli.NuGetHelper.Commands.PackageInfo)) 34if (type == typeof(global::System.Collections.Generic.List<global::Aspire.Cli.NuGetHelper.Commands.PackageInfo>))
SearchJsonContext.ListPackageInfo.g.cs (12)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::Aspire.Cli.NuGetHelper.Commands.PackageInfo>>? _ListPackageInfo; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::Aspire.Cli.NuGetHelper.Commands.PackageInfo>> ListPackageInfo 22get => _ListPackageInfo ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::Aspire.Cli.NuGetHelper.Commands.PackageInfo>>)Options.GetTypeInfo(typeof(global::System.Collections.Generic.List<global::Aspire.Cli.NuGetHelper.Commands.PackageInfo>)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::Aspire.Cli.NuGetHelper.Commands.PackageInfo>> Create_ListPackageInfo(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::System.Collections.Generic.List<global::Aspire.Cli.NuGetHelper.Commands.PackageInfo>>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::Aspire.Cli.NuGetHelper.Commands.PackageInfo>> jsonTypeInfo)) 29var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::System.Collections.Generic.List<global::Aspire.Cli.NuGetHelper.Commands.PackageInfo>> 31ObjectCreator = () => new global::System.Collections.Generic.List<global::Aspire.Cli.NuGetHelper.Commands.PackageInfo>(), 35jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateListInfo<global::System.Collections.Generic.List<global::Aspire.Cli.NuGetHelper.Commands.PackageInfo>, global::Aspire.Cli.NuGetHelper.Commands.PackageInfo>(options, info); 45private void ListPackageInfoSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::System.Collections.Generic.List<global::Aspire.Cli.NuGetHelper.Commands.PackageInfo>? value)
SearchJsonContext.PackageInfo.g.cs (46)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.NuGetHelper.Commands.PackageInfo>? _PackageInfo; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.NuGetHelper.Commands.PackageInfo> PackageInfo 22get => _PackageInfo ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.NuGetHelper.Commands.PackageInfo>)Options.GetTypeInfo(typeof(global::Aspire.Cli.NuGetHelper.Commands.PackageInfo)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.NuGetHelper.Commands.PackageInfo> Create_PackageInfo(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::Aspire.Cli.NuGetHelper.Commands.PackageInfo>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.NuGetHelper.Commands.PackageInfo> jsonTypeInfo)) 29var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Aspire.Cli.NuGetHelper.Commands.PackageInfo> 35ConstructorAttributeProviderFactory = static () => typeof(global::Aspire.Cli.NuGetHelper.Commands.PackageInfo).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.NuGetHelper.Commands.PackageInfo>(options, objectInfo); 56DeclaringType = typeof(global::Aspire.Cli.NuGetHelper.Commands.PackageInfo), 58Getter = static obj => ((global::Aspire.Cli.NuGetHelper.Commands.PackageInfo)obj).Id, 59Setter = static (obj, value) => ((global::Aspire.Cli.NuGetHelper.Commands.PackageInfo)obj).Id = value!, 66AttributeProviderFactory = static () => typeof(global::Aspire.Cli.NuGetHelper.Commands.PackageInfo).GetProperty("Id", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 78DeclaringType = typeof(global::Aspire.Cli.NuGetHelper.Commands.PackageInfo), 80Getter = static obj => ((global::Aspire.Cli.NuGetHelper.Commands.PackageInfo)obj).Version, 81Setter = static (obj, value) => ((global::Aspire.Cli.NuGetHelper.Commands.PackageInfo)obj).Version = value!, 88AttributeProviderFactory = static () => typeof(global::Aspire.Cli.NuGetHelper.Commands.PackageInfo).GetProperty("Version", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 100DeclaringType = typeof(global::Aspire.Cli.NuGetHelper.Commands.PackageInfo), 102Getter = static obj => ((global::Aspire.Cli.NuGetHelper.Commands.PackageInfo)obj).Description, 103Setter = static (obj, value) => ((global::Aspire.Cli.NuGetHelper.Commands.PackageInfo)obj).Description = value!, 110AttributeProviderFactory = static () => typeof(global::Aspire.Cli.NuGetHelper.Commands.PackageInfo).GetProperty("Description", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 120DeclaringType = typeof(global::Aspire.Cli.NuGetHelper.Commands.PackageInfo), 122Getter = static obj => ((global::Aspire.Cli.NuGetHelper.Commands.PackageInfo)obj).Authors, 123Setter = static (obj, value) => ((global::Aspire.Cli.NuGetHelper.Commands.PackageInfo)obj).Authors = value!, 130AttributeProviderFactory = static () => typeof(global::Aspire.Cli.NuGetHelper.Commands.PackageInfo).GetProperty("Authors", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 140DeclaringType = typeof(global::Aspire.Cli.NuGetHelper.Commands.PackageInfo), 142Getter = static obj => ((global::Aspire.Cli.NuGetHelper.Commands.PackageInfo)obj).AllVersions, 143Setter = static (obj, value) => ((global::Aspire.Cli.NuGetHelper.Commands.PackageInfo)obj).AllVersions = value!, 150AttributeProviderFactory = static () => typeof(global::Aspire.Cli.NuGetHelper.Commands.PackageInfo).GetProperty("AllVersions", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.List<string>), global::System.Array.Empty<global::System.Type>(), null), 162DeclaringType = typeof(global::Aspire.Cli.NuGetHelper.Commands.PackageInfo), 164Getter = static obj => ((global::Aspire.Cli.NuGetHelper.Commands.PackageInfo)obj).Source, 165Setter = static (obj, value) => ((global::Aspire.Cli.NuGetHelper.Commands.PackageInfo)obj).Source = value!, 172AttributeProviderFactory = static () => typeof(global::Aspire.Cli.NuGetHelper.Commands.PackageInfo).GetProperty("Source", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 182DeclaringType = typeof(global::Aspire.Cli.NuGetHelper.Commands.PackageInfo), 184Getter = static obj => ((global::Aspire.Cli.NuGetHelper.Commands.PackageInfo)obj).Deprecated, 185Setter = static (obj, value) => ((global::Aspire.Cli.NuGetHelper.Commands.PackageInfo)obj).Deprecated = value!, 192AttributeProviderFactory = static () => typeof(global::Aspire.Cli.NuGetHelper.Commands.PackageInfo).GetProperty("Deprecated", InstanceMemberBindingFlags, null, typeof(bool), global::System.Array.Empty<global::System.Type>(), null), 202private void PackageInfoSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Aspire.Cli.NuGetHelper.Commands.PackageInfo? value) 212string __value_Id = ((global::Aspire.Cli.NuGetHelper.Commands.PackageInfo)value).Id; 217string __value_Version = ((global::Aspire.Cli.NuGetHelper.Commands.PackageInfo)value).Version; 222string __value_Description = ((global::Aspire.Cli.NuGetHelper.Commands.PackageInfo)value).Description; 227string __value_Authors = ((global::Aspire.Cli.NuGetHelper.Commands.PackageInfo)value).Authors; 232global::System.Collections.Generic.List<string> __value_AllVersions = ((global::Aspire.Cli.NuGetHelper.Commands.PackageInfo)value).AllVersions; 238string __value_Source = ((global::Aspire.Cli.NuGetHelper.Commands.PackageInfo)value).Source; 243writer.WriteBoolean(PropName_deprecated, ((global::Aspire.Cli.NuGetHelper.Commands.PackageInfo)value).Deprecated);
SearchJsonContext.SearchResult.g.cs (4)
51var info0 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::System.Collections.Generic.List<global::Aspire.Cli.NuGetHelper.Commands.PackageInfo>> 66AttributeProviderFactory = static () => typeof(global::Aspire.Cli.NuGetHelper.Commands.SearchResult).GetProperty("Packages", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.List<global::Aspire.Cli.NuGetHelper.Commands.PackageInfo>), global::System.Array.Empty<global::System.Type>(), null), 69properties[0] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::System.Collections.Generic.List<global::Aspire.Cli.NuGetHelper.Commands.PackageInfo>>(options, info0); 108global::System.Collections.Generic.List<global::Aspire.Cli.NuGetHelper.Commands.PackageInfo> __value_Packages = ((global::Aspire.Cli.NuGetHelper.Commands.SearchResult)value).Packages;