C# Class MobileAppsFilesSample.DelegateCommand

Inheritance: ICommand
Exibir arquivo Open project: Azure-Samples/app-service-mobile-dotnet-todo-list-files

Public Methods

Method Description
CanExecute ( object parameter ) : bool
DelegateCommand ( Action handler ) : System
DelegateCommand ( Action handler, bool>.Func canExecuteHandler ) : System
Execute ( object parameter ) : void

Protected Methods

Method Description
RaiseCanExecuteChanged ( ) : 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

DelegateCommand() public method

public DelegateCommand ( Action handler, bool>.Func canExecuteHandler ) : System
handler Action
canExecuteHandler bool>.Func
return System

Execute() public method

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

RaiseCanExecuteChanged() protected method

protected RaiseCanExecuteChanged ( ) : void
return void