C# Class MsieJavaScriptEngine.Helpers.ReflectionHelpers

Reflection helpers
Afficher le fichier Open project: Taritsyn/MsieJavaScriptEngine

Méthodes publiques

Méthode 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

Méthode Description
CompareParameterTypes ( object argValues, Type argTypes, Type parameterTypes, bool strictСompliance ) : bool

Method Details

FixArgumentTypes() public static méthode

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

FixFieldValueType() public static méthode

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

FixPropertyValueType() public static méthode

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

GetBestFitMethod() public static méthode

public static GetBestFitMethod ( MethodBase methods, object argValues ) : MethodBase
methods System.Reflection.MethodBase
argValues object
Résultat System.Reflection.MethodBase

GetDefaultBindingFlags() public static méthode

public static GetDefaultBindingFlags ( bool instance ) : BindingFlags
instance bool
Résultat BindingFlags