Table of Contents

Class V2FeedListResource

Namespace
NuGet.Protocol
Assembly
NuGet.Protocol.dll
public class V2FeedListResource : ListResource, INuGetResource
Inheritance
V2FeedListResource
Implements
Inherited Members
Extension Methods

Constructors

V2FeedListResource(IV2FeedParser, ILegacyFeedCapabilityResource, string)

public V2FeedListResource(IV2FeedParser feedParser, ILegacyFeedCapabilityResource feedCapabilities, string baseAddress)

Parameters

feedParser IV2FeedParser
feedCapabilities ILegacyFeedCapabilityResource
baseAddress string

Properties

Source

public override string Source { get; }

Property Value

string

Methods

ListAsync(string, bool, bool, bool, ILogger, CancellationToken)

public override Task<IEnumerableAsync<IPackageSearchMetadata>> ListAsync(string searchTerm, bool prerelease, bool allVersions, bool includeDelisted, ILogger logger, CancellationToken token)

Parameters

searchTerm string
prerelease bool
allVersions bool
includeDelisted bool
logger ILogger
token CancellationToken

Returns

Task<IEnumerableAsync<IPackageSearchMetadata>>