C# Class NuGet.UnzippedPackage

An unzipped package has its contents laid out as physical files on disk inside a directory, instead of inside a .nupkg file.
An unzipped package is strictly required to have this directory structure: ([] denotes directory) jQuery.1.0.nupkg [jQuery.1.0] jQuery.1.0.nuspec [content] jQuery.js [lib] jQuery.dll [tools] install.ps1
Inheritance: LocalPackage
Exibir arquivo Open project: themotleyfool/NuGet Class Usage Examples

Public Methods

Method Description
GetStream ( ) : Stream
GetSupportedFrameworks ( ) : IEnumerable
UnzippedPackage ( IFileSystem repositoryFileSystem, string packageName ) : System
UnzippedPackage ( string repositoryDirectory, string packageName ) : System

Create an uninstance of UnzippedPackage class

Protected Methods

Method Description
GetAssemblyReferencesBase ( ) : IEnumerable
GetFilesBase ( ) : IEnumerable

Private Methods

Method Description
EnsureManifest ( ) : void
GetPackageFilePaths ( ) : IEnumerable
GetPackageRelativePath ( string path ) : string

Method Details

GetAssemblyReferencesBase() protected method

protected GetAssemblyReferencesBase ( ) : IEnumerable
return IEnumerable

GetFilesBase() protected method

protected GetFilesBase ( ) : IEnumerable
return IEnumerable

GetStream() public method

public GetStream ( ) : Stream
return Stream

GetSupportedFrameworks() public method

public GetSupportedFrameworks ( ) : IEnumerable
return IEnumerable

UnzippedPackage() public method

public UnzippedPackage ( IFileSystem repositoryFileSystem, string packageName ) : System
repositoryFileSystem IFileSystem
packageName string
return System

UnzippedPackage() public method

Create an uninstance of UnzippedPackage class
public UnzippedPackage ( string repositoryDirectory, string packageName ) : System
repositoryDirectory string The root directory which contains the .nupkg file and the corresponding unippws directory.
packageName string Contains the file name without the extension of the nupkg file.
return System