C# Class FirstFloor.ModernUI.Commands.CommandBase

Inheritance: ICommand, INotifyPropertyChanged
显示文件 Open project: gro-ove/actools Class Usage Examples

Public Properties

Property Type Description
AlwaysCanExecute bool
IsAutomaticRequeryDisabled bool

Public Methods

Method Description
RaiseCanExecuteChanged ( ) : void

Protected Methods

Method Description
CanExecuteOverride ( object parameter ) : bool
CommandBase ( bool alwaysCanExecute, bool isAutomaticRequeryDisabled ) : System
ExecuteOverride ( object parameter ) : void

Private Methods

Method Description
ICommand ( object parameter ) : bool
ICommand ( object parameter ) : void
OnPropertyChanged ( [ propertyName = null ) : void

Method Details

CanExecuteOverride() protected abstract method

protected abstract CanExecuteOverride ( object parameter ) : bool
parameter object
return bool

CommandBase() protected method

protected CommandBase ( bool alwaysCanExecute, bool isAutomaticRequeryDisabled ) : System
alwaysCanExecute bool
isAutomaticRequeryDisabled bool
return System

ExecuteOverride() protected abstract method

protected abstract ExecuteOverride ( object parameter ) : void
parameter object
return void

RaiseCanExecuteChanged() public method

public RaiseCanExecuteChanged ( ) : void
return void

Property Details

AlwaysCanExecute public_oe property

public bool AlwaysCanExecute
return bool

IsAutomaticRequeryDisabled public_oe property

public bool IsAutomaticRequeryDisabled
return bool