C# Class Microsoft.JScript.JSBinder

Inheritance: Binder
Exibir arquivo Open project: gbarnett/shared-source-cli-2.0

Public Methods

Method Description
BindToField ( BindingFlags bindAttr, FieldInfo match, Object value, CultureInfo locale ) : FieldInfo
BindToMethod ( BindingFlags bindingAttr, MethodBase match, Object &args, ParameterModifier modifiers, CultureInfo locale, String namedParameters, Object &state ) : MethodBase
ChangeType ( Object value, Type target_type, CultureInfo locale ) : Object
ReorderArgumentArray ( Object &args, Object state ) : void
SelectMethod ( BindingFlags bindingAttr, MethodBase match, Type types, ParameterModifier modifiers ) : MethodBase
SelectProperty ( BindingFlags bindingAttr, PropertyInfo match, Type rtype, Type types, ParameterModifier modifiers ) : PropertyInfo

Private Methods

Method Description
ArrangeNamedArguments ( MethodBase method, Object args, string namedParameters ) : Object[]
FormalParamTypeIsObject ( ParameterInfo par ) : bool
GetDefaultMembers ( IReflect ir ) : System.Reflection.MemberInfo[]
GetDefaultMembers ( Type t ) : System.Reflection.MemberInfo[]
GetDefaultMembers ( TypeReferences typeRefs, IReflect ir ) : System.Reflection.MemberInfo[]
GetDefaultPropertyForArrayIndex ( Type t, int index, Type elementType, bool getSetter ) : MethodInfo
GetInterfaceMembers ( String name, Type t ) : MemberInfo[]
Select ( TypeReferences typeRefs, MemberInfo match, int matches, IReflect argIRs, MemberTypes memberType ) : MemberInfo
Select ( TypeReferences typeRefs, MemberInfo match, int matches, Object &args, String namedParameters, MemberTypes memberType ) : MemberInfo
SelectBest ( TypeReferences typeRefs, MemberInfo match, int matches, IReflect argIRs, ParameterInfo fparams, Object aparams, int candidates, int parameters ) : int
SelectCallableMember ( MemberInfo match, IReflect argIRs ) : MemberInfo
SelectConstructor ( MemberInfo match, IReflect argIRs ) : ConstructorInfo
SelectConstructor ( MemberInfo match, Object &args, String namedParameters ) : ConstructorInfo
SelectConstructor ( TypeReferences typeRefs, MemberInfo match, IReflect argIRs ) : ConstructorInfo
SelectConstructor ( TypeReferences typeRefs, MemberInfo match, Object &args, String namedParameters ) : ConstructorInfo
SelectMethod ( MemberInfo match, IReflect argIRs ) : MethodInfo
SelectMethod ( MemberInfo match, Object &args, String namedParameters ) : MethodInfo
SelectMethod ( TypeReferences typeRefs, MemberInfo match, IReflect argIRs ) : MethodInfo
SelectMethod ( TypeReferences typeRefs, MemberInfo match, Object &args, String namedParameters ) : MethodInfo
SelectMethodBase ( TypeReferences typeRefs, MethodBase match, Object &args, ParameterModifier modifiers, String namedParameters ) : MethodBase
SelectOperator ( MethodInfo op1, MethodInfo op2, Type t1, Type t2 ) : MethodInfo
SelectProperty ( MemberInfo match, IReflect argIRs ) : PropertyInfo
SelectProperty ( MemberInfo match, Object args ) : PropertyInfo
SelectProperty ( TypeReferences typeRefs, MemberInfo match, IReflect argIRs ) : PropertyInfo
SelectProperty ( TypeReferences typeRefs, MemberInfo match, Object args ) : PropertyInfo
TypeDistance ( TypeReferences typeRefs, IReflect formal, IReflect actual ) : int
TypeDistance ( TypeReferences typeRefs, Type formal, Type actual ) : int
TypeDistance ( TypeReferences typeRefs, Type formal, Type actual, int distFromObject ) : int

Method Details

BindToField() public method

public BindToField ( BindingFlags bindAttr, FieldInfo match, Object value, CultureInfo locale ) : FieldInfo
bindAttr BindingFlags
match System.Reflection.FieldInfo
value Object
locale System.Globalization.CultureInfo
return System.Reflection.FieldInfo

BindToMethod() public method

public BindToMethod ( BindingFlags bindingAttr, MethodBase match, Object &args, ParameterModifier modifiers, CultureInfo locale, String namedParameters, Object &state ) : MethodBase
bindingAttr BindingFlags
match System.Reflection.MethodBase
args Object
modifiers System.Reflection.ParameterModifier
locale System.Globalization.CultureInfo
namedParameters String
state Object
return System.Reflection.MethodBase

ChangeType() public method

public ChangeType ( Object value, Type target_type, CultureInfo locale ) : Object
value Object
target_type System.Type
locale System.Globalization.CultureInfo
return Object

ReorderArgumentArray() public method

public ReorderArgumentArray ( Object &args, Object state ) : void
args Object
state Object
return void

SelectMethod() public method

public SelectMethod ( BindingFlags bindingAttr, MethodBase match, Type types, ParameterModifier modifiers ) : MethodBase
bindingAttr BindingFlags
match MethodBase
types Type
modifiers ParameterModifier
return MethodBase

SelectProperty() public method

public SelectProperty ( BindingFlags bindingAttr, PropertyInfo match, Type rtype, Type types, ParameterModifier modifiers ) : PropertyInfo
bindingAttr BindingFlags
match PropertyInfo
rtype Type
types Type
modifiers ParameterModifier
return PropertyInfo