C# Class SourceControl.SourceDepotInterface

The wrapper for source depot version of PerforceBase source control interface.
Inheritance: PerforceBase
显示文件 Open project: daptiv/Malevich

Public Methods

Method Description
GetInstance ( string sdClient, string port, string client, string proxy ) : ISourceControl

Factory for the source depot connector instances.

GetSettings ( ) : SourceControlSettings

Gets the source depot settings.

Private Methods

Method Description
SourceDepotInterface ( string sdClient, string port, string client, string proxy ) : System

Trivial constructor. Just wraps around the Perforce base.

VerifySourceDepotRequirements ( ) : void

Verifies that SD installation can actually be used. Throws SourceControlRuntimeError if it cannot be.

Method Details

GetInstance() public static method

Factory for the source depot connector instances.
public static GetInstance ( string sdClient, string port, string client, string proxy ) : ISourceControl
sdClient string The location of sd command.
port string The port of source depot: servername:tcpport form. See sd.ini.
client string The client name. See sd.ini.
proxy string The proxy server (same format as port) or null if none.
return ISourceControl

GetSettings() public static method

Gets the source depot settings.
public static GetSettings ( ) : SourceControlSettings
return SourceControlSettings