C# Class FriendStorage.UI.Command.DelegateCommand

Inheritance: ICommand
Show file Open project: thomasclaudiushuber/WPFandMVVM_TestDrivenDevelopment

Public Methods

Method Description
CanExecute ( object parameter ) : bool
DelegateCommand ( Action execute, bool>.Func canExecute = null ) : System
Execute ( object parameter ) : void
RaiseCanExecuteChanged ( ) : void

Method Details

CanExecute() public method

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

DelegateCommand() public method

public DelegateCommand ( Action execute, bool>.Func canExecute = null ) : System
execute Action
canExecute bool>.Func
return System

Execute() public method

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

RaiseCanExecuteChanged() public method

public RaiseCanExecuteChanged ( ) : void
return void