public static IMethodInfo DeclaringMethod(this Type type)
 {
     return(ReflectionWrapperFactory.Get <IMethodInfo>(type.DeclaringMethod));
 }
Exemple #2
0
 internal static IFieldInfo AsIFieldInfo(this FieldInfo field)
 {
     return(ReflectionWrapperFactory.Get <IFieldInfo>(field));
 }
Exemple #3
0
 internal static IMethodInfo AsIMethodInfo(this MethodInfo method)
 {
     return(ReflectionWrapperFactory.Get <IMethodInfo>(method));
 }
Exemple #4
0
 internal static IMemberInfo AsIMemberInfo(this MemberInfo member)
 {
     return(ReflectionWrapperFactory.Get <IMemberInfo>(member));
 }
Exemple #5
0
 internal static IConstructorInfo AsIConstructorInfo(this ConstructorInfo constructor)
 {
     return(ReflectionWrapperFactory.Get <IConstructorInfo>(constructor));
 }
Exemple #6
0
 internal static IPropertyInfo AsIPropertyInfo(this PropertyInfo prop)
 {
     return(ReflectionWrapperFactory.Get <IPropertyInfo>(prop));
 }