C# Class System.Attribute

Afficher le fichier Open project: gbarnett/shared-source-cli-2.0 Class Usage Examples

Méthodes publiques

Méthode Description
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

Méthodes protégées

Méthode Description
Attribute ( ) : System

Private Methods

Méthode Description
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

Method Details

Attribute() protected méthode

protected Attribute ( ) : System
Résultat System

Equals() public méthode

public Equals ( Object obj ) : bool
obj Object
Résultat bool

GetCustomAttribute() public static méthode

public static GetCustomAttribute ( Assembly element, Type attributeType ) : Attribute
element Assembly
attributeType Type
Résultat Attribute

GetCustomAttribute() public static méthode

public static GetCustomAttribute ( Assembly element, Type attributeType, bool inherit ) : Attribute
element Assembly
attributeType Type
inherit bool
Résultat Attribute

GetCustomAttribute() public static méthode

public static GetCustomAttribute ( MemberInfo element, Type attributeType ) : Attribute
element MemberInfo
attributeType Type
Résultat Attribute

GetCustomAttribute() public static méthode

public static GetCustomAttribute ( MemberInfo element, Type attributeType, bool inherit ) : Attribute
element MemberInfo
attributeType Type
inherit bool
Résultat Attribute

GetCustomAttribute() public static méthode

public static GetCustomAttribute ( Module element, Type attributeType ) : Attribute
element Module
attributeType Type
Résultat Attribute

GetCustomAttribute() public static méthode

public static GetCustomAttribute ( Module element, Type attributeType, bool inherit ) : Attribute
element Module
attributeType Type
inherit bool
Résultat Attribute

GetCustomAttribute() public static méthode

public static GetCustomAttribute ( ParameterInfo element, Type attributeType ) : Attribute
element ParameterInfo
attributeType Type
Résultat Attribute

GetCustomAttribute() public static méthode

public static GetCustomAttribute ( ParameterInfo element, Type attributeType, bool inherit ) : Attribute
element ParameterInfo
attributeType Type
inherit bool
Résultat Attribute

GetCustomAttributes() public static méthode

public static GetCustomAttributes ( Assembly element ) : System.Attribute[]
element Assembly
Résultat System.Attribute[]

GetCustomAttributes() public static méthode

public static GetCustomAttributes ( Assembly element, Type attributeType ) : System.Attribute[]
element Assembly
attributeType Type
Résultat System.Attribute[]

GetCustomAttributes() public static méthode

public static GetCustomAttributes ( Assembly element, Type attributeType, bool inherit ) : System.Attribute[]
element Assembly
attributeType Type
inherit bool
Résultat System.Attribute[]

GetCustomAttributes() public static méthode

public static GetCustomAttributes ( Assembly element, bool inherit ) : System.Attribute[]
element Assembly
inherit bool
Résultat System.Attribute[]

GetCustomAttributes() public static méthode

public static GetCustomAttributes ( MemberInfo element ) : Attribute[]
element MemberInfo
Résultat Attribute[]

GetCustomAttributes() public static méthode

public static GetCustomAttributes ( MemberInfo element, Type type ) : Attribute[]
element MemberInfo
type Type
Résultat Attribute[]

GetCustomAttributes() public static méthode

public static GetCustomAttributes ( MemberInfo element, Type type, bool inherit ) : Attribute[]
element MemberInfo
type Type
inherit bool
Résultat Attribute[]

GetCustomAttributes() public static méthode

public static GetCustomAttributes ( MemberInfo element, bool inherit ) : Attribute[]
element MemberInfo
inherit bool
Résultat Attribute[]

GetCustomAttributes() public static méthode

public static GetCustomAttributes ( Module element ) : Attribute[]
element Module
Résultat Attribute[]

GetCustomAttributes() public static méthode

public static GetCustomAttributes ( Module element, Type attributeType ) : Attribute[]
element Module
attributeType Type
Résultat Attribute[]

GetCustomAttributes() public static méthode

public static GetCustomAttributes ( Module element, Type attributeType, bool inherit ) : Attribute[]
element Module
attributeType Type
inherit bool
Résultat Attribute[]

GetCustomAttributes() public static méthode

public static GetCustomAttributes ( Module element, bool inherit ) : Attribute[]
element Module
inherit bool
Résultat Attribute[]

GetCustomAttributes() public static méthode

public static GetCustomAttributes ( ParameterInfo element ) : Attribute[]
element ParameterInfo
Résultat Attribute[]

GetCustomAttributes() public static méthode

public static GetCustomAttributes ( ParameterInfo element, Type attributeType ) : Attribute[]
element ParameterInfo
attributeType Type
Résultat Attribute[]

GetCustomAttributes() public static méthode

public static GetCustomAttributes ( ParameterInfo element, Type attributeType, bool inherit ) : Attribute[]
element ParameterInfo
attributeType Type
inherit bool
Résultat Attribute[]

GetCustomAttributes() public static méthode

public static GetCustomAttributes ( ParameterInfo element, bool inherit ) : Attribute[]
element ParameterInfo
inherit bool
Résultat Attribute[]

GetHashCode() public méthode

public GetHashCode ( ) : int
Résultat int

IsDefaultAttribute() public méthode

public IsDefaultAttribute ( ) : bool
Résultat bool

IsDefined() public static méthode

public static IsDefined ( Assembly element, Type attributeType ) : bool
element Assembly
attributeType Type
Résultat bool

IsDefined() public static méthode

public static IsDefined ( Assembly element, Type attributeType, bool inherit ) : bool
element Assembly
attributeType Type
inherit bool
Résultat bool

IsDefined() public static méthode

public static IsDefined ( MemberInfo element, Type attributeType ) : bool
element MemberInfo
attributeType Type
Résultat bool

IsDefined() public static méthode

public static IsDefined ( MemberInfo element, Type attributeType, bool inherit ) : bool
element MemberInfo
attributeType Type
inherit bool
Résultat bool

IsDefined() public static méthode

public static IsDefined ( Module element, Type attributeType ) : bool
element Module
attributeType Type
Résultat bool

IsDefined() public static méthode

public static IsDefined ( Module element, Type attributeType, bool inherit ) : bool
element Module
attributeType Type
inherit bool
Résultat bool

IsDefined() public static méthode

public static IsDefined ( ParameterInfo element, Type attributeType ) : bool
element ParameterInfo
attributeType Type
Résultat bool

IsDefined() public static méthode

public static IsDefined ( ParameterInfo element, Type attributeType, bool inherit ) : bool
element ParameterInfo
attributeType Type
inherit bool
Résultat bool

Match() public méthode

public Match ( Object obj ) : bool
obj Object
Résultat bool