C# Class NuGet.Indexing.CatalogPackageReader

Inheritance: NuGet.Packaging.PackageReaderBase, IDisposable
Show file Open project: NuGet/NuGet.Services.Metadata Class Usage Examples

Public Methods

Method Description
CatalogPackageReader ( Newtonsoft.Json.Linq.JObject catalogItem ) : System
CopyFiles ( string destination, IEnumerable packageFiles, ExtractPackageFileDelegate extractFile, Common logger, CancellationToken token ) : IEnumerable
GetFiles ( ) : IEnumerable
GetFiles ( string folder ) : IEnumerable
GetNuspec ( ) : Stream
GetStream ( string path ) : Stream

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Method Details

CatalogPackageReader() public method

public CatalogPackageReader ( Newtonsoft.Json.Linq.JObject catalogItem ) : System
catalogItem Newtonsoft.Json.Linq.JObject
return System

CopyFiles() public method

public CopyFiles ( string destination, IEnumerable packageFiles, ExtractPackageFileDelegate extractFile, Common logger, CancellationToken token ) : IEnumerable
destination string
packageFiles IEnumerable
extractFile ExtractPackageFileDelegate
logger Common
token System.Threading.CancellationToken
return IEnumerable

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

GetFiles() public method

public GetFiles ( ) : IEnumerable
return IEnumerable

GetFiles() public method

public GetFiles ( string folder ) : IEnumerable
folder string
return IEnumerable

GetNuspec() public method

public GetNuspec ( ) : Stream
return Stream

GetStream() public method

public GetStream ( string path ) : Stream
path string
return Stream