C# Класс MonoMobile.Views.ReflectiveCommand

Наследование: ICommand
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
CreateCommand ( ) : void

Описание методов

CanExecute() публичный Метод

public CanExecute ( object parameter ) : bool
parameter object
Результат bool

Execute() публичный Метод

public Execute ( object parameter ) : object
parameter object
Результат object

OnCanExecuteChanged() публичный Метод

public OnCanExecuteChanged ( ) : void
Результат void

ReflectiveCommand() публичный Метод

public ReflectiveCommand ( object viewModel, MethodInfo execute, PropertyInfo canExecute ) : System
viewModel object
execute System.Reflection.MethodInfo
canExecute System.Reflection.PropertyInfo
Результат System

ReflectiveCommand() публичный Метод

public ReflectiveCommand ( object viewModel, MethodInfo execute, object canExecuteSource, PropertyInfo canExecute ) : System
viewModel object
execute System.Reflection.MethodInfo
canExecuteSource object
canExecute System.Reflection.PropertyInfo
Результат System

ReflectiveCommand() публичный Метод

public ReflectiveCommand ( object viewModel, string executeMethodName, object canExecuteSource, string canExecutePropertyName ) : System
viewModel object
executeMethodName string
canExecuteSource object
canExecutePropertyName string
Результат System

ReflectiveCommand() публичный Метод

public ReflectiveCommand ( object viewModel, string executeMethodName, string canExecutePropertyName ) : System
viewModel object
executeMethodName string
canExecutePropertyName string
Результат System