C# Class Bari.Core.Commands.SelfUpdateCommand

Inheritance: ICommand
Show file Open project: vigoo/bari

Public Methods

Method Description
Run ( Suite suite, string parameters ) : bool

Runs the command

SelfUpdateCommand ( IUserOutput output ) : System

Private Methods

Method Description
Get ( string path, string relativeTo ) : string
PrepareUpdate ( AppUpdater updater, IExtendedFileSystem fileSystem, IPackage package ) : IPreparedUpdate

Method Details

Run() public method

Runs the command
public Run ( Suite suite, string parameters ) : bool
suite Suite The current suite model the command is applied to
parameters string Parameters given to the command (in unprocessed form)
return bool

SelfUpdateCommand() public method

public SelfUpdateCommand ( IUserOutput output ) : System
output IUserOutput
return System