C# Class Mercurial.NonPersistentClient

This class implements IClient by spinning up an instance of the Mercurial executable for each command execution.
Inheritance: IClient
Mostra file Open project: TargetProcess/Target-Process-Plugins Class Usage Examples

Public Methods

Method Description
CancelExecuting ( ) : void

Stops command executing.

Execute ( IMercurialCommand command ) : void

Executes the given IMercurialCommand command without a repository.

Execute ( string repositoryPath, IMercurialCommand command ) : void

Executes the given IMercurialCommand command against the Mercurial repository.

NonPersistentClient ( string repositoryPath ) : System

Initializes a new instance of the NonPersistentClient class.

Private Methods

Method Description
IClient ( IMercurialCommand command ) : void

Executes the given IMercurialCommand command against the Mercurial repository.

Method Details

CancelExecuting() public method

Stops command executing.
public CancelExecuting ( ) : void
return void

Execute() public static method

Executes the given IMercurialCommand command without a repository.
/// is null. ///
public static Execute ( IMercurialCommand command ) : void
command IMercurialCommand /// The command to execute. ///
return void

Execute() public static method

Executes the given IMercurialCommand command against the Mercurial repository.
/// is null. /// - or - /// is null. /// /// HG did not complete within the allotted time. ///
public static Execute ( string repositoryPath, IMercurialCommand command ) : void
repositoryPath string /// The root path of the repository to execute the command in. ///
command IMercurialCommand /// The command to execute. ///
return void

NonPersistentClient() public method

Initializes a new instance of the NonPersistentClient class.
/// is null or empty. ///
public NonPersistentClient ( string repositoryPath ) : System
repositoryPath string /// The path to the repository (or not-yet-repository) that this /// will manage. ///
return System