Пример #1
0
 internal XMLFactionRepository(XMLRepositoryFactory _factory, int _nextID)
 {
     factory             = _factory;
     nextID              = _nextID;
     factionsByComposite = new Dictionary <string, Faction>();
     factionsByID        = new Dictionary <long, Faction>();
 }
Пример #2
0
 internal XMLCardRepository(XMLRepositoryFactory _factory, int _nextID)
 {
     factory          = _factory;
     nextID           = _nextID;
     cardsByComposite = new Dictionary <string, Card>();
     cardsByID        = new Dictionary <long, Card>();
 }
Пример #3
0
 internal XMLGameRepository(XMLRepositoryFactory _factory, int _nextID)
 {
     factory      = _factory;
     nextID       = _nextID;
     gamesByTitle = new Dictionary <string, Game>();
     gamesByID    = new Dictionary <long, Game>();
     all          = new ObservableGameCollection();
 }
Пример #4
0
 internal XMLConfigurationRepository(XMLRepositoryFactory _factory)
 {
     factory  = _factory;
     document = _factory.Document;
     settings = new Dictionary <string, string>();
 }