C# Класс System.Reflection.Binder.Default

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

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

Метод Описание
BindToField ( BindingFlags bindingAttr, FieldInfo match, object value, CultureInfo culture ) : FieldInfo
BindToMethod ( BindingFlags bindingAttr, MethodBase match, object &args, ParameterModifier modifiers, CultureInfo culture, string names, object &state ) : MethodBase
ChangeType ( object value, Type type, CultureInfo culture ) : object
SelectMethod ( BindingFlags bindingAttr, MethodBase match, Type types, ParameterModifier modifiers ) : MethodBase
SelectProperty ( BindingFlags bindingAttr, PropertyInfo match, Type returnType, Type indexes, ParameterModifier modifiers ) : PropertyInfo

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

Метод Описание
CompareCloserType ( Type t1, Type t2 ) : int
GetBetterMethod ( MethodBase m1, MethodBase m2, Type types ) : MethodBase
IsArrayAssignable ( Type object_type, Type target_type ) : bool
ReorderArgumentArray ( object &args, object state ) : void
ReorderParameters ( string names, object &args, MethodBase selected ) : void
SelectMethod ( BindingFlags bindingAttr, MethodBase match, Type types, ParameterModifier modifiers, bool allowByRefMatch ) : MethodBase
check_arguments ( Type types, ParameterInfo args, bool allowByRefMatch ) : bool
check_arguments_with_score ( Type types, ParameterInfo args ) : int
check_type ( Type from, Type to ) : bool
check_type_with_score ( Type from, Type to ) : int

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

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

public BindToField ( BindingFlags bindingAttr, FieldInfo match, object value, CultureInfo culture ) : FieldInfo
bindingAttr BindingFlags
match FieldInfo
value object
culture System.Globalization.CultureInfo
Результат FieldInfo

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

public BindToMethod ( BindingFlags bindingAttr, MethodBase match, object &args, ParameterModifier modifiers, CultureInfo culture, string names, object &state ) : MethodBase
bindingAttr BindingFlags
match MethodBase
args object
modifiers ParameterModifier
culture System.Globalization.CultureInfo
names string
state object
Результат MethodBase

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

public ChangeType ( object value, Type type, CultureInfo culture ) : object
value object
type Type
culture System.Globalization.CultureInfo
Результат object

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

public SelectMethod ( BindingFlags bindingAttr, MethodBase match, Type types, ParameterModifier modifiers ) : MethodBase
bindingAttr BindingFlags
match MethodBase
types Type
modifiers ParameterModifier
Результат MethodBase

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

public SelectProperty ( BindingFlags bindingAttr, PropertyInfo match, Type returnType, Type indexes, ParameterModifier modifiers ) : PropertyInfo
bindingAttr BindingFlags
match PropertyInfo
returnType Type
indexes Type
modifiers ParameterModifier
Результат PropertyInfo