Esempio n. 1
0
 internal XMLFactionRepository(XMLRepositoryFactory _factory, int _nextID)
 {
     factory             = _factory;
     nextID              = _nextID;
     factionsByComposite = new Dictionary <string, Faction>();
     factionsByID        = new Dictionary <long, Faction>();
 }
Esempio n. 2
0
 internal XMLCardRepository(XMLRepositoryFactory _factory, int _nextID)
 {
     factory          = _factory;
     nextID           = _nextID;
     cardsByComposite = new Dictionary <string, Card>();
     cardsByID        = new Dictionary <long, Card>();
 }
Esempio n. 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();
 }
Esempio n. 4
0
 internal XMLConfigurationRepository(XMLRepositoryFactory _factory)
 {
     factory  = _factory;
     document = _factory.Document;
     settings = new Dictionary <string, string>();
 }