/// <inheritdoc /> public IPlayerContext CreateNewPlayerContext(DataModel.Configuration.GameConfiguration gameConfiguration) { return(new PlayerContext(new AccountContext { CurrentGameConfiguration = gameConfiguration as GameConfiguration }, this.CachingRepositoryManager)); }
/// <inheritdoc /> public IPlayerContext CreateNewPlayerContext(DataModel.Configuration.GameConfiguration gameConfiguration) { return(new PlayerContext(new AccountContext { CurrentGameConfiguration = gameConfiguration as GameConfiguration }, this)); }
/// <inheritdoc /> public IContext CreateNewContext(DataModel.Configuration.GameConfiguration gameConfiguration) { return(new CachingEntityFrameworkContext(new EntityDataContext { CurrentGameConfiguration = gameConfiguration as GameConfiguration }, this.CachingRepositoryManager)); }
/// <inheritdoc /> public IContext CreateNewContext(DataModel.Configuration.GameConfiguration gameConfiguration) { return(new EntityFrameworkContext(new EntityDataContext { CurrentGameConfiguration = gameConfiguration as GameConfiguration }, this)); }