C# Класс SourceControl.PerforceInterface

The wrapper for perforce version of PerforceBase source control interface.
Наследование: PerforceBase
Показать файл Открыть проект

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

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

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

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

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

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

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

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

Gets the perforce client settings.
public static GetSettings ( ) : SourceControlSettings
Результат SourceControlSettings