C# 클래스 System.Attribute

파일 보기 프로젝트 열기: gbarnett/shared-source-cli-2.0 1 사용 예제들

공개 메소드들

메소드 설명
Equals ( Object obj ) : bool
GetCustomAttribute ( Assembly element, Type attributeType ) : Attribute
GetCustomAttribute ( Assembly element, Type attributeType, bool inherit ) : Attribute
GetCustomAttribute ( MemberInfo element, Type attributeType ) : Attribute
GetCustomAttribute ( MemberInfo element, Type attributeType, bool inherit ) : Attribute
GetCustomAttribute ( Module element, Type attributeType ) : Attribute
GetCustomAttribute ( Module element, Type attributeType, bool inherit ) : Attribute
GetCustomAttribute ( ParameterInfo element, Type attributeType ) : Attribute
GetCustomAttribute ( ParameterInfo element, Type attributeType, bool inherit ) : Attribute
GetCustomAttributes ( Assembly element ) : System.Attribute[]
GetCustomAttributes ( Assembly element, Type attributeType ) : System.Attribute[]
GetCustomAttributes ( Assembly element, Type attributeType, bool inherit ) : System.Attribute[]
GetCustomAttributes ( Assembly element, bool inherit ) : System.Attribute[]
GetCustomAttributes ( MemberInfo element ) : Attribute[]
GetCustomAttributes ( MemberInfo element, Type type ) : Attribute[]
GetCustomAttributes ( MemberInfo element, Type type, bool inherit ) : Attribute[]
GetCustomAttributes ( MemberInfo element, bool inherit ) : Attribute[]
GetCustomAttributes ( Module element ) : Attribute[]
GetCustomAttributes ( Module element, Type attributeType ) : Attribute[]
GetCustomAttributes ( Module element, Type attributeType, bool inherit ) : Attribute[]
GetCustomAttributes ( Module element, bool inherit ) : Attribute[]
GetCustomAttributes ( ParameterInfo element ) : Attribute[]
GetCustomAttributes ( ParameterInfo element, Type attributeType ) : Attribute[]
GetCustomAttributes ( ParameterInfo element, Type attributeType, bool inherit ) : Attribute[]
GetCustomAttributes ( ParameterInfo element, bool inherit ) : Attribute[]
GetHashCode ( ) : int
IsDefaultAttribute ( ) : bool
IsDefined ( Assembly element, Type attributeType ) : bool
IsDefined ( Assembly element, Type attributeType, bool inherit ) : bool
IsDefined ( MemberInfo element, Type attributeType ) : bool
IsDefined ( MemberInfo element, Type attributeType, bool inherit ) : bool
IsDefined ( Module element, Type attributeType ) : bool
IsDefined ( Module element, Type attributeType, bool inherit ) : bool
IsDefined ( ParameterInfo element, Type attributeType ) : bool
IsDefined ( ParameterInfo element, Type attributeType, bool inherit ) : bool
Match ( Object obj ) : bool

보호된 메소드들

메소드 설명
Attribute ( ) : System

비공개 메소드들

메소드 설명
AddAttributesToList ( ArrayList attributeList, Attribute attributes, Hashtable types ) : void
CopyToArrayList ( ArrayList attributeList, Attribute attributes, Hashtable types ) : void
GetParentDefinition ( EventInfo ev ) : EventInfo
GetParentDefinition ( PropertyInfo property ) : PropertyInfo
InternalGetAttributeUsage ( Type type ) : AttributeUsageAttribute
InternalGetCustomAttributes ( EventInfo element, Type type, bool inherit ) : Attribute[]
InternalGetCustomAttributes ( PropertyInfo element, Type type, bool inherit ) : Attribute[]
InternalIsDefined ( EventInfo element, Type attributeType, bool inherit ) : bool
InternalIsDefined ( PropertyInfo element, Type attributeType, bool inherit ) : bool
InternalParamGetCustomAttributes ( MethodInfo method, ParameterInfo param, Type type, bool inherit ) : Attribute[]
InternalParamIsDefined ( MethodInfo method, ParameterInfo param, Type type, bool inherit ) : bool
_Attribute ( [ riid, IntPtr rgszNames, uint cNames, uint lcid, IntPtr rgDispId ) : void
_Attribute ( uint &pcTInfo ) : void
_Attribute ( uint dispIdMember, [ riid, uint lcid, short wFlags, IntPtr pDispParams, IntPtr pVarResult, IntPtr pExcepInfo, IntPtr puArgErr ) : void
_Attribute ( uint iTInfo, uint lcid, IntPtr ppTInfo ) : void

메소드 상세

Attribute() 보호된 메소드

protected Attribute ( ) : System
리턴 System

Equals() 공개 메소드

public Equals ( Object obj ) : bool
obj Object
리턴 bool

GetCustomAttribute() 공개 정적인 메소드

public static GetCustomAttribute ( Assembly element, Type attributeType ) : Attribute
element Assembly
attributeType Type
리턴 Attribute

GetCustomAttribute() 공개 정적인 메소드

public static GetCustomAttribute ( Assembly element, Type attributeType, bool inherit ) : Attribute
element Assembly
attributeType Type
inherit bool
리턴 Attribute

GetCustomAttribute() 공개 정적인 메소드

public static GetCustomAttribute ( MemberInfo element, Type attributeType ) : Attribute
element MemberInfo
attributeType Type
리턴 Attribute

GetCustomAttribute() 공개 정적인 메소드

public static GetCustomAttribute ( MemberInfo element, Type attributeType, bool inherit ) : Attribute
element MemberInfo
attributeType Type
inherit bool
리턴 Attribute

GetCustomAttribute() 공개 정적인 메소드

public static GetCustomAttribute ( Module element, Type attributeType ) : Attribute
element Module
attributeType Type
리턴 Attribute

GetCustomAttribute() 공개 정적인 메소드

public static GetCustomAttribute ( Module element, Type attributeType, bool inherit ) : Attribute
element Module
attributeType Type
inherit bool
리턴 Attribute

GetCustomAttribute() 공개 정적인 메소드

public static GetCustomAttribute ( ParameterInfo element, Type attributeType ) : Attribute
element ParameterInfo
attributeType Type
리턴 Attribute

GetCustomAttribute() 공개 정적인 메소드

public static GetCustomAttribute ( ParameterInfo element, Type attributeType, bool inherit ) : Attribute
element ParameterInfo
attributeType Type
inherit bool
리턴 Attribute

GetCustomAttributes() 공개 정적인 메소드

public static GetCustomAttributes ( Assembly element ) : System.Attribute[]
element Assembly
리턴 System.Attribute[]

GetCustomAttributes() 공개 정적인 메소드

public static GetCustomAttributes ( Assembly element, Type attributeType ) : System.Attribute[]
element Assembly
attributeType Type
리턴 System.Attribute[]

GetCustomAttributes() 공개 정적인 메소드

public static GetCustomAttributes ( Assembly element, Type attributeType, bool inherit ) : System.Attribute[]
element Assembly
attributeType Type
inherit bool
리턴 System.Attribute[]

GetCustomAttributes() 공개 정적인 메소드

public static GetCustomAttributes ( Assembly element, bool inherit ) : System.Attribute[]
element Assembly
inherit bool
리턴 System.Attribute[]

GetCustomAttributes() 공개 정적인 메소드

public static GetCustomAttributes ( MemberInfo element ) : Attribute[]
element MemberInfo
리턴 Attribute[]

GetCustomAttributes() 공개 정적인 메소드

public static GetCustomAttributes ( MemberInfo element, Type type ) : Attribute[]
element MemberInfo
type Type
리턴 Attribute[]

GetCustomAttributes() 공개 정적인 메소드

public static GetCustomAttributes ( MemberInfo element, Type type, bool inherit ) : Attribute[]
element MemberInfo
type Type
inherit bool
리턴 Attribute[]

GetCustomAttributes() 공개 정적인 메소드

public static GetCustomAttributes ( MemberInfo element, bool inherit ) : Attribute[]
element MemberInfo
inherit bool
리턴 Attribute[]

GetCustomAttributes() 공개 정적인 메소드

public static GetCustomAttributes ( Module element ) : Attribute[]
element Module
리턴 Attribute[]

GetCustomAttributes() 공개 정적인 메소드

public static GetCustomAttributes ( Module element, Type attributeType ) : Attribute[]
element Module
attributeType Type
리턴 Attribute[]

GetCustomAttributes() 공개 정적인 메소드

public static GetCustomAttributes ( Module element, Type attributeType, bool inherit ) : Attribute[]
element Module
attributeType Type
inherit bool
리턴 Attribute[]

GetCustomAttributes() 공개 정적인 메소드

public static GetCustomAttributes ( Module element, bool inherit ) : Attribute[]
element Module
inherit bool
리턴 Attribute[]

GetCustomAttributes() 공개 정적인 메소드

public static GetCustomAttributes ( ParameterInfo element ) : Attribute[]
element ParameterInfo
리턴 Attribute[]

GetCustomAttributes() 공개 정적인 메소드

public static GetCustomAttributes ( ParameterInfo element, Type attributeType ) : Attribute[]
element ParameterInfo
attributeType Type
리턴 Attribute[]

GetCustomAttributes() 공개 정적인 메소드

public static GetCustomAttributes ( ParameterInfo element, Type attributeType, bool inherit ) : Attribute[]
element ParameterInfo
attributeType Type
inherit bool
리턴 Attribute[]

GetCustomAttributes() 공개 정적인 메소드

public static GetCustomAttributes ( ParameterInfo element, bool inherit ) : Attribute[]
element ParameterInfo
inherit bool
리턴 Attribute[]

GetHashCode() 공개 메소드

public GetHashCode ( ) : int
리턴 int

IsDefaultAttribute() 공개 메소드

public IsDefaultAttribute ( ) : bool
리턴 bool

IsDefined() 공개 정적인 메소드

public static IsDefined ( Assembly element, Type attributeType ) : bool
element Assembly
attributeType Type
리턴 bool

IsDefined() 공개 정적인 메소드

public static IsDefined ( Assembly element, Type attributeType, bool inherit ) : bool
element Assembly
attributeType Type
inherit bool
리턴 bool

IsDefined() 공개 정적인 메소드

public static IsDefined ( MemberInfo element, Type attributeType ) : bool
element MemberInfo
attributeType Type
리턴 bool

IsDefined() 공개 정적인 메소드

public static IsDefined ( MemberInfo element, Type attributeType, bool inherit ) : bool
element MemberInfo
attributeType Type
inherit bool
리턴 bool

IsDefined() 공개 정적인 메소드

public static IsDefined ( Module element, Type attributeType ) : bool
element Module
attributeType Type
리턴 bool

IsDefined() 공개 정적인 메소드

public static IsDefined ( Module element, Type attributeType, bool inherit ) : bool
element Module
attributeType Type
inherit bool
리턴 bool

IsDefined() 공개 정적인 메소드

public static IsDefined ( ParameterInfo element, Type attributeType ) : bool
element ParameterInfo
attributeType Type
리턴 bool

IsDefined() 공개 정적인 메소드

public static IsDefined ( ParameterInfo element, Type attributeType, bool inherit ) : bool
element ParameterInfo
attributeType Type
inherit bool
리턴 bool

Match() 공개 메소드

public Match ( Object obj ) : bool
obj Object
리턴 bool