C# Class ScriptCs.Command.InstallCommand

Inheritance: IInstallCommand
Afficher le fichier Open project: scriptcs/scriptcs Class Usage Examples

Méthodes publiques

Méthode Description
Execute ( ) : CommandResult
InstallCommand ( string name, string version, bool allowPre, IFileSystem fileSystem, IPackageAssemblyResolver packageAssemblyResolver, IPackageInstaller packageInstaller, IScriptLibraryComposer composer, ILogProvider logger ) : System

Private Methods

Méthode Description
GetPackages ( string workingDirectory ) : IEnumerable

Method Details

Execute() public méthode

public Execute ( ) : CommandResult
Résultat CommandResult

InstallCommand() public méthode

public InstallCommand ( string name, string version, bool allowPre, IFileSystem fileSystem, IPackageAssemblyResolver packageAssemblyResolver, IPackageInstaller packageInstaller, IScriptLibraryComposer composer, ILogProvider logger ) : System
name string
version string
allowPre bool
fileSystem IFileSystem
packageAssemblyResolver IPackageAssemblyResolver
packageInstaller IPackageInstaller
composer IScriptLibraryComposer
logger ILogProvider
Résultat System