C# Class Yuhan.WPF.TextEditor.Demo.LoadDocumentCommand

Inheritance: ICommand
Mostrar archivo Open project: hansuky/Yuhan

Public Methods

Method Description
CanExecute ( object parameter ) : bool

Whether the LoadDocumentCommand is enabled.

Execute ( object parameter ) : void

Executes the LoadDocumentCommand

LoadDocumentCommand ( MainWindowViewModel viewModel ) : System

Default constructor.

Method Details

CanExecute() public method

Whether the LoadDocumentCommand is enabled.
public CanExecute ( object parameter ) : bool
parameter object
return bool

Execute() public method

Executes the LoadDocumentCommand
public Execute ( object parameter ) : void
parameter object
return void

LoadDocumentCommand() public method

Default constructor.
public LoadDocumentCommand ( MainWindowViewModel viewModel ) : System
viewModel MainWindowViewModel
return System