C# Class MonoMobile.Views.ReflectiveCommand

Inheritance: ICommand
Afficher le fichier Open project: RobertKozak/MonoMobile.Views Class Usage Examples

Méthodes publiques

Méthode Description
CanExecute ( object parameter ) : bool
Execute ( object parameter ) : object
OnCanExecuteChanged ( ) : void
ReflectiveCommand ( object viewModel, MethodInfo execute, PropertyInfo canExecute ) : System
ReflectiveCommand ( object viewModel, MethodInfo execute, object canExecuteSource, PropertyInfo canExecute ) : System
ReflectiveCommand ( object viewModel, string executeMethodName, object canExecuteSource, string canExecutePropertyName ) : System
ReflectiveCommand ( object viewModel, string executeMethodName, string canExecutePropertyName ) : System

Private Methods

Méthode Description
CreateCommand ( ) : 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 ) : object
parameter object
Résultat object

OnCanExecuteChanged() public méthode

public OnCanExecuteChanged ( ) : void
Résultat void

ReflectiveCommand() public méthode

public ReflectiveCommand ( object viewModel, MethodInfo execute, PropertyInfo canExecute ) : System
viewModel object
execute System.Reflection.MethodInfo
canExecute System.Reflection.PropertyInfo
Résultat System

ReflectiveCommand() public méthode

public ReflectiveCommand ( object viewModel, MethodInfo execute, object canExecuteSource, PropertyInfo canExecute ) : System
viewModel object
execute System.Reflection.MethodInfo
canExecuteSource object
canExecute System.Reflection.PropertyInfo
Résultat System

ReflectiveCommand() public méthode

public ReflectiveCommand ( object viewModel, string executeMethodName, object canExecuteSource, string canExecutePropertyName ) : System
viewModel object
executeMethodName string
canExecuteSource object
canExecutePropertyName string
Résultat System

ReflectiveCommand() public méthode

public ReflectiveCommand ( object viewModel, string executeMethodName, string canExecutePropertyName ) : System
viewModel object
executeMethodName string
canExecutePropertyName string
Résultat System