8 instantiations of PackageSearchProblem
NuGet.CommandLine.XPlat (8)
_generated\1\PackageSearchJsonContext.PackageSearchProblem.g.cs (1)
32
ObjectWithParameterizedConstructorCreator = static args => new global::NuGet.CommandLine.XPlat.
PackageSearchProblem
((string)args[0], (global::NuGet.CommandLine.XPlat.PackageSearchProblemType)args[1]),
Commands\PackageSearch\PackageSearchRunner.cs (7)
54
packageSearchResultRenderer.Add(new
PackageSearchProblem
(PackageSearchProblemType.Error, ex.Message));
64
packageSearchResultRenderer.Add(new
PackageSearchProblem
(PackageSearchProblemType.Error, HttpSourcesUtility.BuildHttpSourceErrorMessage(httpSources, "search")));
71
packageSearchResultRenderer.Add(new
PackageSearchProblem
(PackageSearchProblemType.Error, Strings.Error_NoSource));
107
packageSearchResultRenderer.Add(source, new
PackageSearchProblem
(PackageSearchProblemType.Error, ex.Message));
113
packageSearchResultRenderer.Add(source, new
PackageSearchProblem
(PackageSearchProblemType.Error, ex.Message));
120
packageSearchResultRenderer.Add(source, new
PackageSearchProblem
(PackageSearchProblemType.Error, ex.Message));
127
packageSearchResultRenderer.Add(source, new
PackageSearchProblem
(PackageSearchProblemType.Warning, Strings.Error_CannotObtainSearchSource));
46 references to PackageSearchProblem
NuGet.CommandLine.XPlat (46)
_generated\1\PackageSearchJsonContext.PackageSearchProblem.g.cs (16)
13
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::NuGet.CommandLine.XPlat.
PackageSearchProblem
>? _PackageSearchProblem;
19
public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::NuGet.CommandLine.XPlat.
PackageSearchProblem
> PackageSearchProblem
22
get => _PackageSearchProblem ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::NuGet.CommandLine.XPlat.
PackageSearchProblem
>)Options.GetTypeInfo(typeof(global::NuGet.CommandLine.XPlat.
PackageSearchProblem
));
25
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::NuGet.CommandLine.XPlat.
PackageSearchProblem
> Create_PackageSearchProblem(global::System.Text.Json.JsonSerializerOptions options)
27
if (!TryGetTypeInfoForRuntimeCustomConverter<global::NuGet.CommandLine.XPlat.
PackageSearchProblem
>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::NuGet.CommandLine.XPlat.
PackageSearchProblem
> jsonTypeInfo))
29
var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::NuGet.CommandLine.XPlat.
PackageSearchProblem
>
35
ConstructorAttributeProviderFactory = static () => typeof(global::NuGet.CommandLine.XPlat.
PackageSearchProblem
).GetConstructor(InstanceMemberBindingFlags, binder: null, new[] {typeof(string), typeof(global::NuGet.CommandLine.XPlat.PackageSearchProblemType)}, modifiers: null),
39
jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::NuGet.CommandLine.XPlat.
PackageSearchProblem
>(options, objectInfo);
56
DeclaringType = typeof(global::NuGet.CommandLine.XPlat.
PackageSearchProblem
),
58
Getter = static obj => ((global::NuGet.CommandLine.XPlat.
PackageSearchProblem
)obj).Text,
66
AttributeProviderFactory = static () => typeof(global::NuGet.CommandLine.XPlat.
PackageSearchProblem
).GetProperty("Text", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
78
DeclaringType = typeof(global::NuGet.CommandLine.XPlat.
PackageSearchProblem
),
80
Getter = static obj => ((global::NuGet.CommandLine.XPlat.
PackageSearchProblem
)obj).ProblemType,
88
AttributeProviderFactory = static () => typeof(global::NuGet.CommandLine.XPlat.
PackageSearchProblem
).GetProperty("ProblemType", InstanceMemberBindingFlags, null, typeof(global::NuGet.CommandLine.XPlat.PackageSearchProblemType), global::System.Array.Empty<global::System.Type>(), null),
_generated\24\PackageSearchJsonContext.ListPackageSearchProblem.g.cs (12)
13
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::NuGet.CommandLine.XPlat.
PackageSearchProblem
>>? _ListPackageSearchProblem;
19
public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::NuGet.CommandLine.XPlat.
PackageSearchProblem
>> ListPackageSearchProblem
22
get => _ListPackageSearchProblem ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::NuGet.CommandLine.XPlat.
PackageSearchProblem
>>)Options.GetTypeInfo(typeof(global::System.Collections.Generic.List<global::NuGet.CommandLine.XPlat.
PackageSearchProblem
>));
25
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::NuGet.CommandLine.XPlat.
PackageSearchProblem
>> Create_ListPackageSearchProblem(global::System.Text.Json.JsonSerializerOptions options)
27
if (!TryGetTypeInfoForRuntimeCustomConverter<global::System.Collections.Generic.List<global::NuGet.CommandLine.XPlat.
PackageSearchProblem
>>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::NuGet.CommandLine.XPlat.
PackageSearchProblem
>> jsonTypeInfo))
29
var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::System.Collections.Generic.List<global::NuGet.CommandLine.XPlat.
PackageSearchProblem
>>
31
ObjectCreator = () => new global::System.Collections.Generic.List<global::NuGet.CommandLine.XPlat.
PackageSearchProblem
>(),
35
jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateListInfo<global::System.Collections.Generic.List<global::NuGet.CommandLine.XPlat.
PackageSearchProblem
>, global::NuGet.CommandLine.XPlat.
PackageSearchProblem
>(options, info);
45
private void ListPackageSearchProblemSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::System.Collections.Generic.List<global::NuGet.CommandLine.XPlat.
PackageSearchProblem
>? value)
_generated\3\PackageSearchJsonContext.PackageSearchResult.g.cs (3)
71
var info1 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::System.Collections.Generic.List<global::NuGet.CommandLine.XPlat.
PackageSearchProblem
>>
86
AttributeProviderFactory = static () => typeof(global::NuGet.CommandLine.XPlat.PackageSearchResult).GetProperty("Problems", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.List<global::NuGet.CommandLine.XPlat.
PackageSearchProblem
>), global::System.Array.Empty<global::System.Type>(), null),
89
properties[1] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::System.Collections.Generic.List<global::NuGet.CommandLine.XPlat.
PackageSearchProblem
>>(options, info1);
_generated\36\PackageSearchJsonContext.GetJsonTypeInfo.g.cs (2)
26
if (type == typeof(global::NuGet.CommandLine.XPlat.
PackageSearchProblem
))
118
if (type == typeof(global::System.Collections.Generic.List<global::NuGet.CommandLine.XPlat.
PackageSearchProblem
>))
_generated\4\PackageSearchJsonContext.SearchMainOutput.g.cs (3)
71
var info1 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::System.Collections.Generic.List<global::NuGet.CommandLine.XPlat.
PackageSearchProblem
>>
86
AttributeProviderFactory = static () => typeof(global::NuGet.CommandLine.XPlat.SearchMainOutput).GetProperty("Problems", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.List<global::NuGet.CommandLine.XPlat.
PackageSearchProblem
>), global::System.Array.Empty<global::System.Type>(), null),
89
properties[1] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::System.Collections.Generic.List<global::NuGet.CommandLine.XPlat.
PackageSearchProblem
>>(options, info1);
Commands\PackageSearch\IPackageSearchResultRenderer.cs (2)
33
void Add(PackageSource source,
PackageSearchProblem
packageSearchProblem);
44
void Add(
PackageSearchProblem
packageSearchProblem);
Commands\PackageSearch\JsonFormat\PackageSearchMainOutput.cs (2)
17
public List<
PackageSearchProblem
> Problems { get; set; }
25
Problems = new List<
PackageSearchProblem
>();
Commands\PackageSearch\JsonFormat\PackageSearchResult.cs (1)
21
public List<
PackageSearchProblem
> Problems { get; set; }
Commands\PackageSearch\PackageSearchResultJsonRenderer.cs (3)
40
public void Add(PackageSource source,
PackageSearchProblem
packageSearchProblem)
44
Problems = new List<
PackageSearchProblem
>() { packageSearchProblem }
61
public void Add(
PackageSearchProblem
packageSearchProblem)
Commands\PackageSearch\PackageSearchResultTableRenderer.cs (2)
45
public void Add(PackageSource source,
PackageSearchProblem
packageSearchProblem)
137
public void Add(
PackageSearchProblem
packageSearchProblem)