Пример #1
0
 public ReplayFileData(Replay replay, IHeroesIcons heroesIcons)
 {
     ReplaysContext = new ReplaysContext();
     Replay         = replay;
     HeroesIcons    = heroesIcons;
     ReplaysDb      = new ReplaysDb();
 }
Пример #2
0
 public ReplayFileData(Replay replay, IHeroesIconsService heroesIcons)
 {
     ReplaysContext = new ReplaysContext();
     Replay         = replay;
     HeroesIcons    = heroesIcons;
     HeroesIcons.LoadHeroesBuild(99999); // needed for auto translations
     ReplaysDb = new ReplaysDb();
 }