C# Class SourceControl.PerforceInterface

The wrapper for perforce version of PerforceBase source control interface.
Inheritance: PerforceBase
Afficher le fichier Open project: daptiv/Malevich

Méthodes publiques

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

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

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

GetSettings() public static méthode

Gets the perforce client settings.
public static GetSettings ( ) : SourceControlSettings
Résultat SourceControlSettings