C# Класс Versionr.Network.Client

Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
GetPassword string
GetRecordData List
PullVersions bool

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

Метод Описание
Client ( Area area ) : System
Client ( System baseDirectory, bool skipChecks = false ) : System
Clone ( bool full ) : bool
Close ( ) : void
Connect ( string host, int port, string module, bool requirewrite = false ) : bool
ListBranches ( ) : Tuple,List>,Dictionary>
ParseRemoteName ( string name ) : Tuple
Pull ( bool pullRemoteObjects, string branchName, bool allBranches = false ) : bool
Push ( string branchName = null ) : bool
SyncCurrentRecords ( ) : bool
SyncRecords ( ) : bool
ToVersionrURL ( string host, int port, string domain = null ) : string

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

Метод Описание
GetPassword ( ) : string
GetRecordData ( List missingRecords ) : List
PullVersions ( SharedNetwork sharedInfo, bool &receivedData ) : bool

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

Client() публичный Метод

public Client ( Area area ) : System
area Area
Результат System

Client() публичный Метод

public Client ( System baseDirectory, bool skipChecks = false ) : System
baseDirectory System
skipChecks bool
Результат System

Clone() публичный Метод

public Clone ( bool full ) : bool
full bool
Результат bool

Close() публичный Метод

public Close ( ) : void
Результат void

Connect() публичный Метод

public Connect ( string host, int port, string module, bool requirewrite = false ) : bool
host string
port int
module string
requirewrite bool
Результат bool

ListBranches() публичный Метод

public ListBranches ( ) : Tuple,List>,Dictionary>
Результат Tuple,List>,Dictionary>

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

public static ParseRemoteName ( string name ) : Tuple
name string
Результат Tuple

Pull() публичный Метод

public Pull ( bool pullRemoteObjects, string branchName, bool allBranches = false ) : bool
pullRemoteObjects bool
branchName string
allBranches bool
Результат bool

Push() публичный Метод

public Push ( string branchName = null ) : bool
branchName string
Результат bool

SyncCurrentRecords() публичный Метод

public SyncCurrentRecords ( ) : bool
Результат bool

SyncRecords() публичный Метод

public SyncRecords ( ) : bool
Результат bool

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

public static ToVersionrURL ( string host, int port, string domain = null ) : string
host string
port int
domain string
Результат string