C# Class MonoMobile.Views.ReflectiveCommand

Inheritance: ICommand
Exibir arquivo Open project: RobertKozak/MonoMobile.Views Class Usage Examples

Public Methods

Method 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

Method Description
CreateCommand ( ) : void

Method Details

CanExecute() public method

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

Execute() public method

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

OnCanExecuteChanged() public method

public OnCanExecuteChanged ( ) : void
return void

ReflectiveCommand() public method

public ReflectiveCommand ( object viewModel, MethodInfo execute, PropertyInfo canExecute ) : System
viewModel object
execute System.Reflection.MethodInfo
canExecute System.Reflection.PropertyInfo
return System

ReflectiveCommand() public method

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

ReflectiveCommand() public method

public ReflectiveCommand ( object viewModel, string executeMethodName, object canExecuteSource, string canExecutePropertyName ) : System
viewModel object
executeMethodName string
canExecuteSource object
canExecutePropertyName string
return System

ReflectiveCommand() public method

public ReflectiveCommand ( object viewModel, string executeMethodName, string canExecutePropertyName ) : System
viewModel object
executeMethodName string
canExecutePropertyName string
return System