C# Class withSIX.Mini.Core.Social.Group

Inheritance: BaseEntityGuidId
Datei anzeigen Open project: SIXNetworks/withSIX.Desktop Class Usage Examples

Private Properties

Property Type Description
GetGroupAccess Task
GetGroupContent Task>
GetOpts Action
GetRepo withSIX.Sync.Core.Legacy.SixSync.Repository
InstallNew Task
IsRightVersion bool
SetupHosts void
UpdateExisting Task

Public Methods

Method Description
ExistsAndIsRightVersion ( string name, IAbsoluteDirectoryPath path ) : bool
GetHosts ( GroupContent content ) : IReadOnlyCollection
GetMod ( string name ) : GroupContent
GetMod ( GroupContent mod, IAbsoluteDirectoryPath destination, IAbsoluteDirectoryPath packPath, StatusRepo status, IAuthProvider provider, bool force = false ) : Task
Group ( System.Guid id, string name ) : System
HasMod ( string name ) : bool
Load ( IW6Api api, CancellationToken ct ) : Task

Private Methods

Method Description
GetGroupAccess ( IW6Api api, CancellationToken ct ) : Task
GetGroupContent ( IW6Api api, CancellationToken ct ) : Task>
GetOpts ( IAbsoluteDirectoryPath packPath, StatusRepo status, GroupContent mod ) : Action
GetRepo ( IAbsoluteDirectoryPath rsyncDir, IAbsoluteDirectoryPath folder, Action config = null ) : Repository
InstallNew ( GroupContent mod, IAuthProvider provider, Action config, IAbsoluteDirectoryPath folder ) : Task
IsRightVersion ( IAbsoluteDirectoryPath rsyncDir, GroupContent mod ) : bool
SetupHosts ( GroupContent mod, IAuthProvider provider ) : void
UpdateExisting ( GroupContent mod, IAuthProvider provider, IAbsoluteDirectoryPath rsyncDir, IAbsoluteDirectoryPath folder, Action config = null ) : Task

Method Details

ExistsAndIsRightVersion() public method

public ExistsAndIsRightVersion ( string name, IAbsoluteDirectoryPath path ) : bool
name string
path IAbsoluteDirectoryPath
return bool

GetHosts() public method

public GetHosts ( GroupContent content ) : IReadOnlyCollection
content GroupContent
return IReadOnlyCollection

GetMod() public method

public GetMod ( string name ) : GroupContent
name string
return GroupContent

GetMod() public method

public GetMod ( GroupContent mod, IAbsoluteDirectoryPath destination, IAbsoluteDirectoryPath packPath, StatusRepo status, IAuthProvider provider, bool force = false ) : Task
mod GroupContent
destination IAbsoluteDirectoryPath
packPath IAbsoluteDirectoryPath
status StatusRepo
provider IAuthProvider
force bool
return Task

Group() public method

public Group ( System.Guid id, string name ) : System
id System.Guid
name string
return System

HasMod() public method

public HasMod ( string name ) : bool
name string
return bool

Load() public method

public Load ( IW6Api api, CancellationToken ct ) : Task
api IW6Api
ct System.Threading.CancellationToken
return Task