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