C# Class SourceControl.PerforceInterface

The wrapper for perforce version of PerforceBase source control interface.
Inheritance: PerforceBase
Exibir arquivo Open project: daptiv/Malevich

Public Methods

Method Description
GetInstance ( string p4Client, string port, string client, string user, string passwd ) : ISourceControl

Factory for the perforce connector instances.

GetSettings ( ) : SourceControlSettings

Gets the perforce client settings.

Private Methods

Method Description
PerforceInterface ( string p4Client, string port, string client, string user, string passwd ) : System

Trivial constructor. Just wraps around the Perforce base.

VerifyPerforceRequirements ( ) : void

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

Method Details

GetInstance() public static method

Factory for the perforce connector instances.
public static GetInstance ( string p4Client, string port, string client, string user, string passwd ) : ISourceControl
p4Client string The location of p4 command.
port string The port of perforce: servername:tcpport form.
client string The client name. See sd.ini.
user string Perforce user name, can be null.
passwd string Perforce password, can be null.
return ISourceControl

GetSettings() public static method

Gets the perforce client settings.
public static GetSettings ( ) : SourceControlSettings
return SourceControlSettings