C# Класс Mercurial.ClientExecutable

This class encapsulates the Mercurial client application.
Показать файл Открыть проект Примеры использования класса

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

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

Initializes a repository remotely, through a server which supports such functionality.

RemoteInit ( string location, RemoteInitCommand command = null ) : void

Initializes a repository remotely, through a server which supports such functionality.

SetClientPath ( string clientPath ) : void

Assigns a specific client path to the Mercurial.Net library, allowing the program that uses the library to select the applicable Mercurial version to use, or even to come bundled with its own Mercurial client files.

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

Метод Описание
GetVersion ( ) : System.Version
Initialize ( ) : void

Initializes local data structures from the Mercurial client.

LazyInitialize ( ) : void

Perform lazy on-demand initialization of locating the client and extracting its version.

LocateClient ( ) : string

Attempts to locate the command line client executable.

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

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

Initializes a repository remotely, through a server which supports such functionality.
/// is null. ///
public static RemoteInit ( RemoteInitCommand command ) : void
command RemoteInitCommand /// The options to the init method. ///
Результат void

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

Initializes a repository remotely, through a server which supports such functionality.
/// is null or empty. /// /// cannot be set before calling this method. ///
public static RemoteInit ( string location, RemoteInitCommand command = null ) : void
location string /// The url of the repository to initialize remotely. ///
command RemoteInitCommand /// Any extra options to the init method, or null for default options. ///
Результат void

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

Assigns a specific client path to the Mercurial.Net library, allowing the program that uses the library to select the applicable Mercurial version to use, or even to come bundled with its own Mercurial client files.
/// is null or empty. /// /// does not point to the Mercurial executable. ///
public static SetClientPath ( string clientPath ) : void
clientPath string /// The full path to the folder and file that is the /// Mercurial command line executable that should be used. ///
Результат void