C# Class ScriptCs.Command.InstallCommand

Inheritance: IInstallCommand
Show file Open project: scriptcs/scriptcs Class Usage Examples

Public Methods

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

Private Methods

Method Description
GetPackages ( string workingDirectory ) : IEnumerable

Method Details

Execute() public method

public Execute ( ) : CommandResult
return CommandResult

InstallCommand() public method

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
return System