C# Класс Mercurial.NonPersistentClient

This class implements IClient by spinning up an instance of the Mercurial executable for each command execution.
Наследование: IClient
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
IClient ( IMercurialCommand command ) : void

Executes the given IMercurialCommand command against the Mercurial repository.

Описание методов

CancelExecuting() публичный Метод

Stops command executing.
public CancelExecuting ( ) : void
Результат void

Execute() публичный статический Метод

Executes the given IMercurialCommand command without a repository.
/// is null. ///
public static Execute ( IMercurialCommand command ) : void
command IMercurialCommand /// The command to execute. ///
Результат void

Execute() публичный статический Метод

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. ///
Результат void

NonPersistentClient() публичный Метод

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. ///
Результат System