Add interface for database context factory

This commit is contained in:
Dean Herbert
2018-02-12 23:10:05 +09:00
parent 64cda9fd0f
commit a738664167
10 changed files with 34 additions and 15 deletions

View File

@ -21,7 +21,7 @@ namespace osu.Game.IO
public new Storage Storage => base.Storage;
public FileStore(DatabaseContextFactory contextFactory, Storage storage) : base(contextFactory, storage.GetStorageForDirectory(@"files"))
public FileStore(IDatabaseContextFactory contextFactory, Storage storage) : base(contextFactory, storage.GetStorageForDirectory(@"files"))
{
Store = new StorageBackedResourceStore(Storage);
}