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