C# Class MediaAppSample.Core.Commands.CommandBase

Base class for commands.
Inheritance: ICommand
Mostrar archivo Open project: Microsoft/TVHelpers

Public Methods

Method Description
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.

Method Details

CanExecute() public abstract method

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

Execute() public abstract method

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

RaiseCanExecuteChanged() public method

Method used to raise the CanExecuteChanged event to indicate that the return value of the CanExecute method has changed.
public RaiseCanExecuteChanged ( ) : void
return void