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

Inheritance: IInfrastructureService, ISetupGameStuff, IDisposable
Exibir arquivo Open project: SIXNetworks/withSIX.Desktop

Public Methods

Method Description
Dispose ( ) : void
HandleGameContentsWhenNeeded ( IReadOnlyCollection gameIds, ContentQuery query = null ) : System.Threading.Tasks.Task
Initialize ( ) : System.Threading.Tasks.Task
SetupGameStuff ( IDbContextLocator locator, IDbContextFactory factory, INetworkContentSyncer networkContentSyncer, IGameLocker gameLocker, IStateHandler stateHandler, IAssemblyService ass ) : System

Private Methods

Method Description
GetMigrations ( ) : List
HandleGameContentsWhenNeededIndividualLock ( ) : System.Threading.Tasks.Task
HandleMissingGames ( IGameContext gc ) : System.Threading.Tasks.Task
Migrate ( ) : System.Threading.Tasks.Task
OnElapsed ( ) : System.Threading.Tasks.Task
SynchronizeCollections ( IReadOnlyCollection games ) : System.Threading.Tasks.Task
TryLock ( System.Guid id ) : Task

Method Details

Dispose() public method

public Dispose ( ) : void
return void

HandleGameContentsWhenNeeded() public method

public HandleGameContentsWhenNeeded ( IReadOnlyCollection gameIds, ContentQuery query = null ) : System.Threading.Tasks.Task
gameIds IReadOnlyCollection
query withSIX.Mini.Applications.Services.Infra.ContentQuery
return System.Threading.Tasks.Task

Initialize() public method

public Initialize ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task

SetupGameStuff() public method

public SetupGameStuff ( IDbContextLocator locator, IDbContextFactory factory, INetworkContentSyncer networkContentSyncer, IGameLocker gameLocker, IStateHandler stateHandler, IAssemblyService ass ) : System
locator IDbContextLocator
factory IDbContextFactory
networkContentSyncer INetworkContentSyncer
gameLocker IGameLocker
stateHandler IStateHandler
ass IAssemblyService
return System