Exemplo n.º 1
0
 public DailyListItemViewModel(DailyListItem itemToDisplay, IViewModelContext context)
     : base(context)
 {
     _ItemToDisplay = itemToDisplay;
 }
        private void AddExistingItem(DailyListItem itemToAdd)
        {
            var actionVm = new DailyListItemViewModel(itemToAdd, Context);

            actionVm.ActionAdded += ActionItemActionAdded;

            ItemsToDisplay.Add(actionVm);
        }