C# Class MobileAppsFilesSample.DelegateCommand

Inheritance: ICommand
Afficher le fichier Open project: Azure-Samples/app-service-mobile-dotnet-todo-list-files

Méthodes publiques

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

Méthodes protégées

Méthode Description
RaiseCanExecuteChanged ( ) : void

Method Details

CanExecute() public méthode

public CanExecute ( object parameter ) : bool
parameter object
Résultat bool

DelegateCommand() public méthode

public DelegateCommand ( Action handler ) : System
handler Action
Résultat System

DelegateCommand() public méthode

public DelegateCommand ( Action handler, bool>.Func canExecuteHandler ) : System
handler Action
canExecuteHandler bool>.Func
Résultat System

Execute() public méthode

public Execute ( object parameter ) : void
parameter object
Résultat void

RaiseCanExecuteChanged() protected méthode

protected RaiseCanExecuteChanged ( ) : void
Résultat void