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