public SummonerRepository(string filePath) { mFilePath = filePath; mAsyncGetAllService = new AsyncGetAllService <Summoner>(GetAll); mCache = new RepositoryCache <Summoner>(this); }
public MonsterRoleRepository() : this(FileConstants.MONSTER_ROLES_PATH, null) { mAsyncGetAllService = new AsyncGetAllService <MonsterRole>(GetAll); }
public MonsterRoleRepository(string filePath, IAsyncGetAllService <MonsterRole> asyncGetAllService) { mFilePath = filePath; mAsyncGetAllService = asyncGetAllService; mCache = new RepositoryCache <MonsterRole>(this); }
public RuneRepository() : this(FileConstants.CURRENT_PROFILE_PATH, null) { mAsyncGetAllService = new AsyncGetAllService <Rune>(GetAll); }