C# Class Versionr.Network.Client

ファイルを表示 Open project: eatplayhate/versionr Class Usage Examples

Private Properties

Property Type Description
GetPassword string
GetRecordData List
PullVersions bool

Public Methods

Method Description
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

Private Methods

Method Description
GetPassword ( ) : string
GetRecordData ( List missingRecords ) : List
PullVersions ( SharedNetwork sharedInfo, bool &receivedData ) : bool

Method Details

Client() public method

public Client ( Area area ) : System
area Area
return System

Client() public method

public Client ( System baseDirectory, bool skipChecks = false ) : System
baseDirectory System
skipChecks bool
return System

Clone() public method

public Clone ( bool full ) : bool
full bool
return bool

Close() public method

public Close ( ) : void
return void

Connect() public method

public Connect ( string host, int port, string module, bool requirewrite = false ) : bool
host string
port int
module string
requirewrite bool
return bool

ListBranches() public method

public ListBranches ( ) : Tuple,List>,Dictionary>
return Tuple,List>,Dictionary>

ParseRemoteName() public static method

public static ParseRemoteName ( string name ) : Tuple
name string
return Tuple

Pull() public method

public Pull ( bool pullRemoteObjects, string branchName, bool allBranches = false ) : bool
pullRemoteObjects bool
branchName string
allBranches bool
return bool

Push() public method

public Push ( string branchName = null ) : bool
branchName string
return bool

SyncCurrentRecords() public method

public SyncCurrentRecords ( ) : bool
return bool

SyncRecords() public method

public SyncRecords ( ) : bool
return bool

ToVersionrURL() public static method

public static ToVersionrURL ( string host, int port, string domain = null ) : string
host string
port int
domain string
return string