예제 #1
0
 public static IEnumerable <EventInfo> GetAllEvents(this TypeInfo typeInfo)
 => typeInfo.GetAll(ti => ti.DeclaredEvents);
예제 #2
0
 public static IEnumerable <ConstructorInfo> GetAllConstructors(this TypeInfo typeInfo)
 => typeInfo.GetAll(ti => ti.DeclaredConstructors);
예제 #3
0
 public static IEnumerable <PropertyInfo> GetAllProperties(this TypeInfo typeInfo)
 => typeInfo.GetAll(ti => ti.DeclaredProperties);
예제 #4
0
 public static IEnumerable <TypeInfo> GetAllNestedTypes(this TypeInfo typeInfo)
 => typeInfo.GetAll(ti => ti.DeclaredNestedTypes);
예제 #5
0
 public static IEnumerable <MethodInfo> GetAllMethods(this TypeInfo typeInfo)
 => typeInfo.GetAll(ti => ti.DeclaredMethods);
예제 #6
0
 public static IEnumerable <FieldInfo> GetAllFields(this TypeInfo typeInfo)
 => typeInfo.GetAll(ti => ti.DeclaredFields);