Пример #1
0
        public void Receive(IEnumerable <TodoItem> items)
        {
            if (!(currentVm is INotificationsVm))
            {
                preNotificationVm = currentVm;
            }

            CurrentVm = scope.Resolve <INotificationsVm>(
                new TypedParameter(typeof(IEnumerable <TodoItem>), items));
        }
Пример #2
0
 public void CloseNotif()
 {
     CurrentVm         = preNotificationVm;
     preNotificationVm = null;
 }