AttributeExtensions
Provides attribute extensions.
Gets an attribute of the given type which is defined on the context or on the type.
public static T GetAttribute<T>(this ContextualParameterInfo info, bool inherit) where T : Attribute
Gets an attribute of the given type which is defined on the context or on the type.
Gets an attribute of the given type which is defined on the context or on the type.
Gets the attributes of the given type which are defined on the context or on the type.
Gets the attributes of the given type which are defined on the context or on the type.
Gets the attributes of the given type which are defined on the context or on the type.
Gets the attributes of the given type which are defined on the context or on the type.
Gets the attributes of the given type which are defined on the context or on the type.
Gets the attributes of the given type which are defined on the context or on the type.
public static T GetContextAttribute<T>(this ContextualType contextualType, bool inherit) where T : Attribute
Gets an attribute of the given type which is defined on the context or on the type.
public static IEnumerable<T> GetContextAttributes<T>(this ContextualType contextualType, bool inherit) where T : Attribute
Gets the attributes of the given type which are defined on the context or on the type.
public static IEnumerable<Attribute> GetContextAttributes(this ContextualType contextualType, bool inherit)
Gets the attributes of the given type which are defined on the context or on the type.
public static T GetContextOrTypeAttribute<T>(this ContextualType contextualType, bool inherit) where T : Attribute
Gets an attribute of the given type which is defined on the context or on the type.
public static IEnumerable<T> GetContextOrTypeAttributes<T>(this ContextualType contextualType, bool inherit) where T : Attribute
Gets the attributes of the given type which are defined on the context or on the type.
public static IEnumerable<Attribute> GetContextOrTypeAttributes(this ContextualType contextualType, bool inherit)
Gets the attributes of the given type which are defined on the context or on the type.
public static bool IsAttributeDefined<T>(this ContextualMemberInfo info, bool inherit) where T : Attribute
Gets the attributes of the given type which are defined on the context or on the type.
public static bool IsAttributeDefined<T>(this ContextualParameterInfo info, bool inherit) where T : Attribute
Gets the attributes of the given type which are defined on the context or on the type.
Gets the attributes of the given type which are defined on the context or on the type.
public static bool IsContextAttributeDefined<T>(this ContextualType contextualType, bool inherit) where T : Attribute
Gets the attributes of the given type which are defined on the context or on the type.