C# Class NuGet.PackageBuilder

Inheritance: IPackageBuilder
Afficher le fichier Open project: NuGetPackageExplorer/NuGetPackageExplorer Class Usage Examples

Private Properties

Свойство Type Description
AddFiles void
CreatePart void
DetermineMinimumSchemaVersion int
ExcludeFiles void
HasXdtTransformFile bool
IsPrereleaseDependency bool
ParseTags IEnumerable
ReadManifest void
RequiresV4TargetFrameworkSchema bool
ValidateDependencySets void
ValidateReferenceAssemblies void
WriteFiles void
WriteManifest void

Méthodes publiques

Méthode Description
Build ( ) : IPackage
PackageBuilder ( ) : System
PackageBuilder ( Stream stream, string basePath ) : System
PackageBuilder ( string path ) : System
PackageBuilder ( string path, string basePath ) : System
Save ( Stream stream ) : void

Private Methods

Méthode Description
AddFiles ( string basePath, string source, string destination, string exclude = null ) : void
CreatePart ( Package package, string path, Stream sourceStream ) : void
DetermineMinimumSchemaVersion ( Collection Files ) : int
ExcludeFiles ( List searchFiles, string basePath, string exclude ) : void
HasXdtTransformFile ( ICollection contentFiles ) : bool
IsPrereleaseDependency ( PackageDependency dependency ) : bool
ParseTags ( string tags ) : IEnumerable

Tags come in this format. tag1 tag2 tag3 etc..

ReadManifest ( Stream stream, string basePath ) : void
RequiresV4TargetFrameworkSchema ( ICollection files ) : bool
ValidateDependencySets ( SemanticVersion version, IEnumerable dependencies ) : void
ValidateReferenceAssemblies ( IEnumerable files, IEnumerable packageAssemblyReferences ) : void
WriteFiles ( Package package ) : void
WriteManifest ( Package package, int minimumManifestVersion ) : void

Method Details

Build() public méthode

public Build ( ) : IPackage
Résultat IPackage

PackageBuilder() public méthode

public PackageBuilder ( ) : System
Résultat System

PackageBuilder() public méthode

public PackageBuilder ( Stream stream, string basePath ) : System
stream Stream
basePath string
Résultat System

PackageBuilder() public méthode

public PackageBuilder ( string path ) : System
path string
Résultat System

PackageBuilder() public méthode

public PackageBuilder ( string path, string basePath ) : System
path string
basePath string
Résultat System

Save() public méthode

public Save ( Stream stream ) : void
stream Stream
Résultat void