Пример #1
0
 public static IEnumerable <T> GetCustomAttributes <T>(this ParameterInfo element, bool inherit) where T : Attribute
 {
     return((IEnumerable <T>)CustomAttributeExtensions.GetCustomAttributes(element, typeof(T), inherit));
 }