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