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

Inheritance: ICommand
Afficher le fichier Open project: hansuky/Yuhan

Méthodes publiques

Méthode 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 méthode

Whether the LoadDocumentCommand is enabled.
public CanExecute ( object parameter ) : bool
parameter object
Résultat bool

Execute() public méthode

Executes the LoadDocumentCommand
public Execute ( object parameter ) : void
parameter object
Résultat void

LoadDocumentCommand() public méthode

Default constructor.
public LoadDocumentCommand ( MainWindowViewModel viewModel ) : System
viewModel MainWindowViewModel
Résultat System