C# Class CardIdleRemastered.Commands.BaseCommand

Inheritance: ICommand
Afficher le fichier Open project: AlexanderSharykin/CardIdleRemastered Class Usage Examples

Méthodes publiques

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

Méthodes protégées

Méthode Description
BaseCommand ( ) : System
OnCanExecuteChanged ( EventArgs e ) : void

Method Details

BaseCommand() protected méthode

protected BaseCommand ( ) : System
Résultat System

BaseCommand() public méthode

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

CanExecute() public méthode

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

Execute() public méthode

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

OnCanExecuteChanged() protected méthode

protected OnCanExecuteChanged ( EventArgs e ) : void
e System.EventArgs
Résultat void