C# Class Microsoft.Practices.Prism.Tests.Commands.MockActiveAwareCommand

Inheritance: IActiveAware, ICommand
显示文件 Open project: xperiandri/PortablePrism Class Usage Examples

Public Properties

Property Type Description
ExecuteAction Action

Public Methods

Method Description
CanExecute ( object parameter ) : bool
Execute ( object parameter ) : void

Protected Methods

Method Description
OnActiveChanged ( object sender, EventArgs e ) : void

Method Details

CanExecute() public method

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

Execute() public method

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

OnActiveChanged() protected method

protected OnActiveChanged ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

Property Details

ExecuteAction public_oe property

public Action ExecuteAction
return Action