Exemple #1
0
 public static T GetAttribute <[Nullable(0)] T>(object attributeProvider) where T : Attribute
 {
     return(ReflectionUtils.GetAttribute <T>(attributeProvider, true));
 }
 public static T GetAttribute <T>(ICustomAttributeProvider attributeProvider)
     where T : Attribute
 {
     return(ReflectionUtils.GetAttribute <T>(attributeProvider, true));
 }