C# Class Bottles.Manifest.PackageManifestReader

Inheritance: IPackageManifestReader
Mostrar archivo Open project: DarthFubuMVC/bottles Class Usage Examples

Public Methods

Method Description
IsPotentiallyAnAssembly ( string file ) : bool
LoadFromFolder ( string packageDirectory ) : IPackageInfo
LoadFromStream ( Stream stream ) : PackageManifest
PackageManifestReader ( IFileSystem fileSystem, string>.Func getContentFolderFromBottleFolder ) : System
ToString ( ) : string

Private Methods

Method Description
createDefaultManifest ( string packageDirectory ) : PackageManifest
determineBinPath ( string packageDirectory ) : string
findCandidateAssemblyFiles ( string binPath ) : IEnumerable
readAssemblyPaths ( PackageManifest manifest, PackageInfo package, string binPath ) : void
registerFolders ( string bottleDirectory, PackageInfo package ) : void

Method Details

IsPotentiallyAnAssembly() public static method

public static IsPotentiallyAnAssembly ( string file ) : bool
file string
return bool

LoadFromFolder() public method

public LoadFromFolder ( string packageDirectory ) : IPackageInfo
packageDirectory string
return IPackageInfo

LoadFromStream() public method

public LoadFromStream ( Stream stream ) : PackageManifest
stream Stream
return PackageManifest

PackageManifestReader() public method

public PackageManifestReader ( IFileSystem fileSystem, string>.Func getContentFolderFromBottleFolder ) : System
fileSystem IFileSystem
getContentFolderFromBottleFolder string>.Func
return System

ToString() public method

public ToString ( ) : string
return string