コード例 #1
0
        public SameTitleCardsStatisticVM(Card card, CardVM cardVM, VM vm, CardStatisticVM cardStatisticVM)
        {
            _card                  = card;
            _vm                    = vm;
            _cardVM                = cardVM;
            _cardStatisticVM       = cardStatisticVM;
            InterestsPassingsCount = 3;

            CardPassings = DBTools.Context.Cards.Where(c => c.Title == card.Title).Select(c => c.CardPassings).SelectMany(c => c).ToList();
        }
コード例 #2
0
 internal void OnClearCardStatisticsVM()
 {
     CardStatisticVM = new CardStatisticVM(_card, this, _vm);
 }
コード例 #3
0
 public CardVM(Card card, VM vm)
 {
     _card            = card;
     _vm              = vm;
     _cardStatisticVM = new CardStatisticVM(card, this, vm);
 }