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