C# Class Catel.MVVM.ViewModelManagerExtensions

Extensions for the IViewModelManager interface.
Afficher le fichier Open project: Catel/Catel

Méthodes publiques

Méthode Description
CancelAndCloseViewModels ( this viewModelManager, bool>.Func predicate ) : void

Closes all view models that are currently being managed by the ViewModelManager which match the predicate.

SaveAndCloseViewModels ( this viewModelManager, bool>.Func predicate ) : void

Closes all view models that are currently being managed by the ViewModelManager which match the predicate.

Method Details

CancelAndCloseViewModels() public static méthode

Closes all view models that are currently being managed by the ViewModelManager which match the predicate.
The is null. The is null.
public static CancelAndCloseViewModels ( this viewModelManager, bool>.Func predicate ) : void
viewModelManager this The view model manager.
predicate bool>.Func The predicate.
Résultat void

SaveAndCloseViewModels() public static méthode

Closes all view models that are currently being managed by the ViewModelManager which match the predicate.
The is null. The is null.
public static SaveAndCloseViewModels ( this viewModelManager, bool>.Func predicate ) : void
viewModelManager this The view model manager.
predicate bool>.Func The predicate.
Résultat void