Пример #1
0
 private void AddCard(NamedCard card)
 {
     if (card.IsExtraCard())
         ExtraCards.Add(card);
     else
         Cards.Add(card);
 }
Пример #2
0
        private static void LoadCard(IDataRecord reader)
        {
            NamedCard card = new NamedCard(reader);

            _cards.Add(card.Id, card);
        }
Пример #3
0
 private static void LoadCard(IDataRecord reader)
 {
     NamedCard card = new NamedCard(reader);
     _cards.Add(card.Id, card);
 }