Class ReflectionUtils
Provides a collection of frequently-used reflection extension methods
Inheritance
System.Object
ReflectionUtils
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: NFX
Assembly: NFX.dll
Syntax
public static class ReflectionUtils
Methods
IndexOfArg(MethodInfo, Type, String)
Declaration
public static int IndexOfArg(this MethodInfo method, Type type, string name)
Parameters
Type | Name | Description |
---|---|---|
System.Reflection.MethodInfo | method | |
System.Type | type | |
System.String | name |
Returns
Type | Description |
---|---|
System.Int32 |
OfSignature(MethodInfo, Type[])
Declaration
public static bool OfSignature(this MethodInfo method, params Type[] args)
Parameters
Type | Name | Description |
---|---|---|
System.Reflection.MethodInfo | method | |
System.Type[] | args |
Returns
Type | Description |
---|---|
System.Boolean |