C# Class YALV.Common.CommandRelay

Inheritance: ICommandAncestor
Exibir arquivo Open project: LukePet/YALV Class Usage Examples

Protected Properties

Property Type Description
_canExecute Predicate
_execute object>.Func

Public Methods

Method Description
CommandRelay ( object>.Func execute, Predicate canExecute ) : System
OnCanExecuteChanged ( ) : void

Private Methods

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

Method Details

CommandRelay() public method

public CommandRelay ( object>.Func execute, Predicate canExecute ) : System
execute object>.Func
canExecute Predicate
return System

OnCanExecuteChanged() public method

public OnCanExecuteChanged ( ) : void
return void

Property Details

_canExecute protected_oe property

protected Predicate _canExecute
return Predicate

_execute protected_oe property

protected Func _execute
return object>.Func