C# Class Ninject.Infrastructure.Language.ExtensionsForICustomAttributeProvider

Afficher le fichier Open project: ninject/Ninject

Méthodes publiques

Méthode Description
GetCustomAttributesExtended ( this member, Type attributeType, bool inherit ) : IEnumerable

Gets custom attributes which supports MemberInfo and PropertyInfo.

HasAttribute ( this member, Type type ) : bool

Determines if the ICustomAttributeProvider has the specified attribute.

Method Details

GetCustomAttributesExtended() public static méthode

Gets custom attributes which supports MemberInfo and PropertyInfo.
public static GetCustomAttributesExtended ( this member, Type attributeType, bool inherit ) : IEnumerable
member this The .
attributeType System.Type The attribute type.
inherit bool When true, look up the hierarchy chain for the inherited custom attribute.
Résultat IEnumerable

HasAttribute() public static méthode

Determines if the ICustomAttributeProvider has the specified attribute.
public static HasAttribute ( this member, Type type ) : bool
member this The .
type System.Type The attribute type.
Résultat bool