public void Receive(IEnumerable <TodoItem> items) { if (!(currentVm is INotificationsVm)) { preNotificationVm = currentVm; } CurrentVm = scope.Resolve <INotificationsVm>( new TypedParameter(typeof(IEnumerable <TodoItem>), items)); }
public void CloseNotif() { CurrentVm = preNotificationVm; preNotificationVm = null; }