Ejemplo n.º 1
0
 private void NotifyDone()
 {
     if (CanNotifyDone())
     {
         DoneSelecting?.Invoke(this, new EventArgs());
     }
 }
Ejemplo n.º 2
0
        public SelectCardsViewModelDesignData()
        {
            Categories = new ReadOnlyCollection <Category>(new List <Category>
            {
                Config.BuildDefaultPeople(),
                Config.BuildDefaultWeapons(),
                Config.BuildDefaultRooms()
            });

            var i = 0;

            foreach (var category in Categories)
            {
                category.Cards[i++].IsPartOfSuggestion = true;
            }
            DoneSelecting?.Invoke(this, null);
        }