C# Class StreetFoo.Client.DelegateCommand

Inheritance: ICommand
Show file Open project: mbrit/ProgrammingMetroStyle

Private Properties

Property Type Description

Public Methods

Method Description
CanExecute ( object parameter ) : bool
DelegateCommand ( Action handler ) : System
Execute ( object parameter ) : void

Protected Methods

Method Description
OnCanExecuteChanged ( EventArgs e ) : void

Method Details

CanExecute() public method

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

DelegateCommand() public method

public DelegateCommand ( Action handler ) : System
handler Action
return System

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