C# Class CardIdleRemastered.Commands.BaseCommand

Inheritance: ICommand
Show file Open project: AlexanderSharykin/CardIdleRemastered Class Usage Examples

Public Methods

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

Protected Methods

Method Description
BaseCommand ( ) : System
OnCanExecuteChanged ( EventArgs e ) : void

Method Details

BaseCommand() protected method

protected BaseCommand ( ) : System
return System

BaseCommand() public method

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

CanExecute() public method

public CanExecute ( object parameter ) : bool
parameter object
return bool

Execute() public method

public Execute ( object parameter ) : void
parameter object
return void

OnCanExecuteChanged() protected method

protected OnCanExecuteChanged ( EventArgs e ) : void
e System.EventArgs
return void