Table of Contents

Class ReflectionUtil

Namespace
Zyl.VectorTraits.Impl
Assembly
VectorTraits.dll

Reflection util (反射工具).

public static class ReflectionUtil
Inheritance
ReflectionUtil
Inherited Members

Methods

CheckBindMethods(Type, Type, IDictionary<string, List<MethodInfo>>?, Func<MethodInfo, MethodInfo?, object?, bool>?, object?)

Check the binding of the method set, i.e. whether the method of the staticType is missing from the objectType (检查方法集的绑定,即在 objectType 中是否缺少 staticType 的方法). e.g. VectorTraitsBase.Statics and VectorTraitsAbstract . It has the interfaceMethodsDictionary parameter.

CheckBindMethods(Type, Type, Type?, Func<MethodInfo, MethodInfo?, object?, bool>?, object?)

Check the binding of the method set, i.e. whether the method of the staticType is missing from the objectType (检查方法集的绑定,即在 objectType 中是否缺少 staticType 的方法). e.g. VectorTraitsBase.Statics and VectorTraitsAbstract .

CheckBindMethodsAnyVector(Type, Type, IDictionary<string, List<MethodInfo>>?, Func<MethodInfo, MethodInfo?, object?, bool>?, object?)

Check the binding of the method set, ignoring the difference in the bit length of the vectors (检查方法集的绑定, 忽略向量的位长的差异). e.g. WVectorTraits256Avx2.Statics and VectorTraits256Avx2.Statics . It has the interfaceMethodsDictionary parameter.

CheckBindMethodsAnyVector(Type, Type, Type?, Func<MethodInfo, MethodInfo?, object?, bool>?, object?)

Check the binding of the method set, ignoring the difference in the bit length of the vectors (检查方法集的绑定, 忽略向量的位长的差异). e.g. WVectorTraits256Avx2.Statics and VectorTraits256Avx2.Statics .

CheckBindMethodsOn(Func<MethodInfo, MethodInfo, bool>, Type, Type, IDictionary<string, List<MethodInfo>>?, Func<MethodInfo, MethodInfo?, object?, bool>?, object?)

Check the binding of the method set on funcEquals (基于 funcEquals 检查方法集的绑定.

EqualsParametersType(MethodInfo, MethodInfo)

Check that the parameter list of the methods are the same (检查方法的参数列表是否相同).

EqualsParametersTypeAnyVector(MethodInfo, MethodInfo)

Check that the parameter list of the methods are the same, ignoring the difference in the bit length of the vectors (检查方法的参数列表是否相同, 忽略向量的位长的差异).

EqualsTypeAnyVector(Type, Type)

Check that the type are the same, ignoring the difference in the bit length of the vectors (检查类型是否相同, 忽略向量的位长的差异).

GetMethod(Type, string)

Searches for the public method with the specified name (搜索具有指定名称的公共方法).

GetMethodGroup(Type)

Get methods group (取得方法组).

GetParameterTypes(MethodInfo)

Get parameter types (取得参数类型数组).

GetShortName(Type?)

Get short name of Type (取得 Type 的短名称).

GetShortNameWithType(MethodInfo?)

Get short name of MethodInfo with type (取得 MethodInfo 带类型的短名称).

GetSupportedMethodListCallback<T>(Action<T>, IEnumerable<Type>, params string[])

Get supported method list and output callback (取得支持的方法列表并输出到 callback ).

GetSupportedMethodListCallback<T>(Action<T>, Predicate<Type>?, IEnumerable<Type>, params string[])

Get supported method list and output callback (取得支持的方法列表并输出到 callback ).

GetSupportedMethodListFill<T>(ICollection<T>, IEnumerable<Type>, params string[])

Get supported method list and fill (取得支持的方法列表并填充).

GetSupportedMethodList<T>(IEnumerable<Type>, params string[])

Get supported method list (取得支持的方法列表).

OnMissed_Default(MethodInfo, MethodInfo?, object?)

Default of OnMissed functon (默认的 OnMissed 函数).

TypeInvokeGetIsSupported(Type)

Type invoke GetIsSupported(bool) method (对类型调用 GetIsSupported(bool) 方法).