public static IList <T> GetAttributes <T>(this System.Type clazz) where T : Attribute { return(AttributeHelper.GetAll <T>(clazz)); }