C# Класс System.Attribute.Attribute

Показать файл Открыть проект

Открытые методы

Метод Описание
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 ) : System.Attribute[]
GetCustomAttributes ( MemberInfo element, Type type ) : System.Attribute[]
GetCustomAttributes ( MemberInfo element, Type type, bool inherit ) : System.Attribute[]
GetCustomAttributes ( MemberInfo element, bool inherit ) : System.Attribute[]
GetCustomAttributes ( Module element ) : System.Attribute[]
GetCustomAttributes ( Module element, Type attributeType ) : System.Attribute[]
GetCustomAttributes ( Module element, Type attributeType, bool inherit ) : System.Attribute[]
GetCustomAttributes ( Module element, bool inherit ) : System.Attribute[]
GetCustomAttributes ( ParameterInfo element ) : System.Attribute[]
GetCustomAttributes ( ParameterInfo element, Type attributeType ) : System.Attribute[]
GetCustomAttributes ( ParameterInfo element, Type attributeType, bool inherit ) : System.Attribute[]
GetCustomAttributes ( ParameterInfo element, bool inherit ) : System.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.Reflection
_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

Приватные методы

Метод Описание
CheckParameters ( object element, Type attributeType ) : void
FindAttribute ( object attributes ) : Attribute

Описание методов

Attribute() защищенный метод

protected Attribute ( ) : System.Reflection
Результат System.Reflection

Equals() публичный метод

public Equals ( object obj ) : bool
obj object
Результат bool

GetCustomAttribute() публичный статический метод

public static GetCustomAttribute ( Assembly element, Type attributeType ) : Attribute
element System.Reflection.Assembly
attributeType Type
Результат Attribute

GetCustomAttribute() публичный статический метод

public static GetCustomAttribute ( Assembly element, Type attributeType, bool inherit ) : Attribute
element System.Reflection.Assembly
attributeType Type
inherit bool
Результат Attribute

GetCustomAttribute() публичный статический метод

public static GetCustomAttribute ( MemberInfo element, Type attributeType ) : Attribute
element System.Reflection.MemberInfo
attributeType Type
Результат Attribute

GetCustomAttribute() публичный статический метод

public static GetCustomAttribute ( MemberInfo element, Type attributeType, bool inherit ) : Attribute
element System.Reflection.MemberInfo
attributeType Type
inherit bool
Результат Attribute

GetCustomAttribute() публичный статический метод

public static GetCustomAttribute ( Module element, Type attributeType ) : Attribute
element System.Reflection.Module
attributeType Type
Результат Attribute

GetCustomAttribute() публичный статический метод

public static GetCustomAttribute ( Module element, Type attributeType, bool inherit ) : Attribute
element System.Reflection.Module
attributeType Type
inherit bool
Результат Attribute

GetCustomAttribute() публичный статический метод

public static GetCustomAttribute ( ParameterInfo element, Type attributeType ) : Attribute
element System.Reflection.ParameterInfo
attributeType Type
Результат Attribute

GetCustomAttribute() публичный статический метод

public static GetCustomAttribute ( ParameterInfo element, Type attributeType, bool inherit ) : Attribute
element System.Reflection.ParameterInfo
attributeType Type
inherit bool
Результат Attribute

GetCustomAttributes() публичный статический метод

public static GetCustomAttributes ( Assembly element ) : System.Attribute[]
element System.Reflection.Assembly
Результат System.Attribute[]

GetCustomAttributes() публичный статический метод

public static GetCustomAttributes ( Assembly element, Type attributeType ) : System.Attribute[]
element System.Reflection.Assembly
attributeType Type
Результат System.Attribute[]

GetCustomAttributes() публичный статический метод

public static GetCustomAttributes ( Assembly element, Type attributeType, bool inherit ) : System.Attribute[]
element System.Reflection.Assembly
attributeType Type
inherit bool
Результат System.Attribute[]

GetCustomAttributes() публичный статический метод

public static GetCustomAttributes ( Assembly element, bool inherit ) : System.Attribute[]
element System.Reflection.Assembly
inherit bool
Результат System.Attribute[]

GetCustomAttributes() публичный статический метод

public static GetCustomAttributes ( MemberInfo element ) : System.Attribute[]
element System.Reflection.MemberInfo
Результат System.Attribute[]

GetCustomAttributes() публичный статический метод

public static GetCustomAttributes ( MemberInfo element, Type type ) : System.Attribute[]
element System.Reflection.MemberInfo
type Type
Результат System.Attribute[]

GetCustomAttributes() публичный статический метод

public static GetCustomAttributes ( MemberInfo element, Type type, bool inherit ) : System.Attribute[]
element System.Reflection.MemberInfo
type Type
inherit bool
Результат System.Attribute[]

GetCustomAttributes() публичный статический метод

public static GetCustomAttributes ( MemberInfo element, bool inherit ) : System.Attribute[]
element System.Reflection.MemberInfo
inherit bool
Результат System.Attribute[]

GetCustomAttributes() публичный статический метод

public static GetCustomAttributes ( Module element ) : System.Attribute[]
element System.Reflection.Module
Результат System.Attribute[]

GetCustomAttributes() публичный статический метод

public static GetCustomAttributes ( Module element, Type attributeType ) : System.Attribute[]
element System.Reflection.Module
attributeType Type
Результат System.Attribute[]

GetCustomAttributes() публичный статический метод

public static GetCustomAttributes ( Module element, Type attributeType, bool inherit ) : System.Attribute[]
element System.Reflection.Module
attributeType Type
inherit bool
Результат System.Attribute[]

GetCustomAttributes() публичный статический метод

public static GetCustomAttributes ( Module element, bool inherit ) : System.Attribute[]
element System.Reflection.Module
inherit bool
Результат System.Attribute[]

GetCustomAttributes() публичный статический метод

public static GetCustomAttributes ( ParameterInfo element ) : System.Attribute[]
element System.Reflection.ParameterInfo
Результат System.Attribute[]

GetCustomAttributes() публичный статический метод

public static GetCustomAttributes ( ParameterInfo element, Type attributeType ) : System.Attribute[]
element System.Reflection.ParameterInfo
attributeType Type
Результат System.Attribute[]

GetCustomAttributes() публичный статический метод

public static GetCustomAttributes ( ParameterInfo element, Type attributeType, bool inherit ) : System.Attribute[]
element System.Reflection.ParameterInfo
attributeType Type
inherit bool
Результат System.Attribute[]

GetCustomAttributes() публичный статический метод

public static GetCustomAttributes ( ParameterInfo element, bool inherit ) : System.Attribute[]
element System.Reflection.ParameterInfo
inherit bool
Результат System.Attribute[]

GetHashCode() публичный метод

public GetHashCode ( ) : int
Результат int

IsDefaultAttribute() публичный метод

public IsDefaultAttribute ( ) : bool
Результат bool

IsDefined() публичный статический метод

public static IsDefined ( Assembly element, Type attributeType ) : bool
element System.Reflection.Assembly
attributeType Type
Результат bool

IsDefined() публичный статический метод

public static IsDefined ( Assembly element, Type attributeType, bool inherit ) : bool
element System.Reflection.Assembly
attributeType Type
inherit bool
Результат bool

IsDefined() публичный статический метод

public static IsDefined ( MemberInfo element, Type attributeType ) : bool
element System.Reflection.MemberInfo
attributeType Type
Результат bool

IsDefined() публичный статический метод

public static IsDefined ( MemberInfo element, Type attributeType, bool inherit ) : bool
element System.Reflection.MemberInfo
attributeType Type
inherit bool
Результат bool

IsDefined() публичный статический метод

public static IsDefined ( Module element, Type attributeType ) : bool
element System.Reflection.Module
attributeType Type
Результат bool

IsDefined() публичный статический метод

public static IsDefined ( Module element, Type attributeType, bool inherit ) : bool
element System.Reflection.Module
attributeType Type
inherit bool
Результат bool

IsDefined() публичный статический метод

public static IsDefined ( ParameterInfo element, Type attributeType ) : bool
element System.Reflection.ParameterInfo
attributeType Type
Результат bool

IsDefined() публичный статический метод

public static IsDefined ( ParameterInfo element, Type attributeType, bool inherit ) : bool
element System.Reflection.ParameterInfo
attributeType Type
inherit bool
Результат bool

Match() публичный метод

public Match ( object obj ) : bool
obj object
Результат bool

_Attribute() защищенный метод

protected _Attribute ( [ riid, IntPtr rgszNames, uint cNames, uint lcid, IntPtr rgDispId ) : void
riid [
rgszNames IntPtr
cNames uint
lcid uint
rgDispId IntPtr
Результат void

_Attribute() защищенный метод

protected _Attribute ( uint &pcTInfo ) : void
pcTInfo uint
Результат void

_Attribute() защищенный метод

protected _Attribute ( uint dispIdMember, [ riid, uint lcid, short wFlags, IntPtr pDispParams, IntPtr pVarResult, IntPtr pExcepInfo, IntPtr puArgErr ) : void
dispIdMember uint
riid [
lcid uint
wFlags short
pDispParams IntPtr
pVarResult IntPtr
pExcepInfo IntPtr
puArgErr IntPtr
Результат void

_Attribute() защищенный метод

protected _Attribute ( uint iTInfo, uint lcid, IntPtr ppTInfo ) : void
iTInfo uint
lcid uint
ppTInfo IntPtr
Результат void