C# Class PackageExplorerViewModel.ViewContentCommand

Inheritance: CommandBase, ICommand
Afficher le fichier Open project: grendello/nuget Class Usage Examples

Méthodes publiques

Méthode Description
CanExecute ( object parameter ) : bool
Execute ( object parameter ) : void
RaiseCanExecuteChanged ( ) : void
ViewContentCommand ( PackageViewModel packageViewModel ) : System

Private Methods

Méthode Description
DetermineLanguage ( string name ) : SourceLanguageType
IsBinaryFile ( string path ) : bool
ReadFileContent ( PackageFile file, long &size ) : string
ShowFile ( PackageFile file ) : void

Method Details

CanExecute() public méthode

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

Execute() public méthode

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

RaiseCanExecuteChanged() public méthode

public RaiseCanExecuteChanged ( ) : void
Résultat void

ViewContentCommand() public méthode

public ViewContentCommand ( PackageViewModel packageViewModel ) : System
packageViewModel PackageViewModel
Résultat System