C# 클래스 Ninject.Infrastructure.Language.ExtensionsForICustomAttributeProvider

파일 보기 프로젝트 열기: ninject/Ninject

공개 메소드들

메소드 설명
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.

메소드 상세

GetCustomAttributesExtended() 공개 정적인 메소드

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.
리턴 IEnumerable

HasAttribute() 공개 정적인 메소드

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.
리턴 bool