C# Класс MyDriving.Helpers.RelayCommand

Наследование: ICommand
Показать файл Открыть проект

Открытые методы

Метод Описание
CanExecute ( object parameter ) : bool
Execute ( object parameter ) : void
RaiseCanExecuteChanged ( ) : void

Method used to raise the CanExecuteChanged event to indicate that the return value of the CanExecute method has changed.

RelayCommand ( System.Action handler, Func canExecute = null ) : System

Описание методов

CanExecute() публичный Метод

public CanExecute ( object parameter ) : bool
parameter object
Результат bool

Execute() публичный Метод

public Execute ( object parameter ) : void
parameter object
Результат void

RaiseCanExecuteChanged() публичный Метод

Method used to raise the CanExecuteChanged event to indicate that the return value of the CanExecute method has changed.
public RaiseCanExecuteChanged ( ) : void
Результат void

RelayCommand() публичный Метод

public RelayCommand ( System.Action handler, Func canExecute = null ) : System
handler System.Action
canExecute Func
Результат System