C# Class Mercurial.NonPersistentClient

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

Méthodes publiques

Méthode 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

Méthode Description
IClient ( IMercurialCommand command ) : void

Executes the given IMercurialCommand command against the Mercurial repository.

Method Details

CancelExecuting() public méthode

Stops command executing.
public CancelExecuting ( ) : void
Résultat void

Execute() public static méthode

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

Execute() public static méthode

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. ///
Résultat void

NonPersistentClient() public méthode

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. ///
Résultat System