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