C# Class VersionrUI.Commands.DelegateCommand

Inheritance: ICommand
Afficher le fichier Open project: eatplayhate/versionr Class Usage Examples

Méthodes publiques

Méthode Description
CanExecute ( object parameter ) : bool
DelegateCommand ( System.Action exec, Func canExec = null ) : System
Execute ( object parameter ) : void
RaiseCanExecuteChanged ( ) : void

Method Details

CanExecute() public méthode

public CanExecute ( object parameter ) : bool
parameter object
Résultat bool

DelegateCommand() public méthode

public DelegateCommand ( System.Action exec, Func canExec = null ) : System
exec System.Action
canExec Func
Résultat System

Execute() public méthode

public Execute ( object parameter ) : void
parameter object
Résultat void

RaiseCanExecuteChanged() public méthode

public RaiseCanExecuteChanged ( ) : void
Résultat void