Beispiel #1
0
 /// <summary>
 /// Determines whether the <paramref name="provider"/> element has an associated <see cref="System.Attribute"/>
 /// of all of the types given in <paramref name="attributeTypes"/>.
 /// </summary>
 /// <returns>True if the source element has all of the specified attribute types, false otherwise.</returns>
 public static bool HasAllAttributes(this ICustomAttributeProvider provider, params Type[] attributeTypes)
 {
     return(ReflectLookup.HasAllAttributes(provider, attributeTypes));
 }