C# Class Packman.Manager

Mostra file Open project: madskristensen/Packman Class Usage Examples

Public Methods

Method Description
Install ( Manifest manifest, InstallablePackage entry, InstallSettings settings ) : Task
Install ( string manifestFilePath, InstallablePackage entry, InstallSettings settings ) : Task
Install ( string manifestFilePath, InstallablePackage entry, string installDirectory, bool saveManifest = true ) : Task
InstallAll ( Manifest manifest ) : System.Threading.Tasks.Task
MakeRelative ( string baseFile, string file ) : string
Manager ( IPackageProvider provider ) : System
OnCopied ( string source, string destination ) : void
OnCopying ( string source, string destination ) : void
OnInstalled ( Manifest manifest, IInstallablePackage package, string path ) : void
OnInstalling ( Manifest manifest, IInstallablePackage package, string path ) : void
UninstallAsync ( Manifest manifest, string name, bool saveManifest ) : Task

Private Methods

Method Description
CopyPackageContent ( InstallablePackage entry, InstallSettings settings ) : Task
InstallUrls ( Manifest manifest, ManifestPackage package ) : System.Threading.Tasks.Task

Method Details

Install() public method

public Install ( Manifest manifest, InstallablePackage entry, InstallSettings settings ) : Task
manifest Manifest
entry InstallablePackage
settings InstallSettings
return Task

Install() public method

public Install ( string manifestFilePath, InstallablePackage entry, InstallSettings settings ) : Task
manifestFilePath string
entry InstallablePackage
settings InstallSettings
return Task

Install() public method

public Install ( string manifestFilePath, InstallablePackage entry, string installDirectory, bool saveManifest = true ) : Task
manifestFilePath string
entry InstallablePackage
installDirectory string
saveManifest bool
return Task

InstallAll() public method

public InstallAll ( Manifest manifest ) : System.Threading.Tasks.Task
manifest Manifest
return System.Threading.Tasks.Task

MakeRelative() public static method

public static MakeRelative ( string baseFile, string file ) : string
baseFile string
file string
return string

Manager() public method

public Manager ( IPackageProvider provider ) : System
provider IPackageProvider
return System

OnCopied() public method

public OnCopied ( string source, string destination ) : void
source string
destination string
return void

OnCopying() public method

public OnCopying ( string source, string destination ) : void
source string
destination string
return void

OnInstalled() public method

public OnInstalled ( Manifest manifest, IInstallablePackage package, string path ) : void
manifest Manifest
package IInstallablePackage
path string
return void

OnInstalling() public method

public OnInstalling ( Manifest manifest, IInstallablePackage package, string path ) : void
manifest Manifest
package IInstallablePackage
path string
return void

UninstallAsync() public method

public UninstallAsync ( Manifest manifest, string name, bool saveManifest ) : Task
manifest Manifest
name string
saveManifest bool
return Task