C# Class JavaScriptEngineSwitcher.ChakraCore.Helpers.ReflectionHelpers

Reflection helpers
Datei anzeigen Open project: Taritsyn/JavaScriptEngineSwitcher

Public Methods

Method Description
FixArgumentTypes ( object &argValues, ParameterInfo parameters ) : void
FixFieldValueType ( object &value, FieldInfo field ) : void
FixPropertyValueType ( object &value, PropertyInfo property ) : void
GetBestFitMethod ( MethodBase methods, object argValues ) : MethodBase
GetDefaultBindingFlags ( bool instance ) : BindingFlags

Private Methods

Method Description
CompareParameterTypes ( object argValues, Type argTypes, Type parameterTypes, bool strictСompliance ) : bool

Method Details

FixArgumentTypes() public static method

public static FixArgumentTypes ( object &argValues, ParameterInfo parameters ) : void
argValues object
parameters System.Reflection.ParameterInfo
return void

FixFieldValueType() public static method

public static FixFieldValueType ( object &value, FieldInfo field ) : void
value object
field System.Reflection.FieldInfo
return void

FixPropertyValueType() public static method

public static FixPropertyValueType ( object &value, PropertyInfo property ) : void
value object
property System.Reflection.PropertyInfo
return void

GetBestFitMethod() public static method

public static GetBestFitMethod ( MethodBase methods, object argValues ) : MethodBase
methods System.Reflection.MethodBase
argValues object
return System.Reflection.MethodBase

GetDefaultBindingFlags() public static method

public static GetDefaultBindingFlags ( bool instance ) : BindingFlags
instance bool
return BindingFlags