C# Class withSIX.Mini.Infra.Data.Services.GameContextJsonImplementation

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

Public Methods

Method Description
GameContextJsonImplementation ( ILocalCache cache ) : System
GameExists ( System.Guid gameId ) : Task
Load ( System.Guid gameId ) : System.Threading.Tasks.Task
LoadAll ( bool skip = false ) : System.Threading.Tasks.Task
Migrate ( List migrations ) : Task

Protected Methods

Method Description
SaveChangesInternal ( ) : Task

Private Methods

Method Description
ConfirmConsistency ( Game g ) : void
ConfirmGameContents ( Game g ) : void
FixUpDependencies ( IReadOnlyCollection nc ) : void
GetCacheKey ( System.Guid x ) : string
GetSupportedGameIds ( ) : IEnumerable
RetrieveGame ( System.Guid gameId, bool skip = false ) : Task

Method Details

GameContextJsonImplementation() public method

public GameContextJsonImplementation ( ILocalCache cache ) : System
cache ILocalCache
return System

GameExists() public method

public GameExists ( System.Guid gameId ) : Task
gameId System.Guid
return Task

Load() public method

public Load ( System.Guid gameId ) : System.Threading.Tasks.Task
gameId System.Guid
return System.Threading.Tasks.Task

LoadAll() public method

public LoadAll ( bool skip = false ) : System.Threading.Tasks.Task
skip bool
return System.Threading.Tasks.Task

Migrate() public method

public Migrate ( List migrations ) : Task
migrations List
return Task

SaveChangesInternal() protected method

protected SaveChangesInternal ( ) : Task
return Task