/// <summary> /// Gets all constructors matching the given <paramref name="bindingFlags"/> (and that are not abstract) /// on the given <paramref name="type"/>. /// </summary> /// <param name="type">The type to reflect on.</param> /// <param name="bindingFlags">The search criteria to use when reflecting.</param> /// <returns>A list of matching constructors. This value will never be null.</returns> public static IList <ConstructorInfo> Constructors(this Type type, FasterflectFlags bindingFlags) { return(ReflectLookup.Constructors(type, bindingFlags)); }
/// <summary> /// Gets all public and non-public constructors (that are not abstract) on the given <paramref name="type"/>. /// </summary> /// <param name="type">The type to reflect on.</param> /// <returns>A list of matching constructors. This value will never be null.</returns> public static IList <ConstructorInfo> Constructors(this Type type) { return(ReflectLookup.Constructors(type)); }