System.Reflection.CustomAttributeExtensions: Method Members

The methods of System.Reflection.CustomAttributeExtensions are listed below. For a list of all members, see the CustomAttributeExtensions Members list.

See Also: Inherited members from System.Object

Public Methods

static
GetCustomAttribute(this Assembly, Type) : Attribute

Retrieves a custom attribute of a specified type that is applied to a specified assembly.

static
GetCustomAttribute(this MemberInfo, Type) : Attribute

Retrieves a custom attribute of a specified type that is applied to a specified member.

static
GetCustomAttribute(this Module, Type) : Attribute

Retrieves a custom attribute of a specified type that is applied to a specified module.

static
GetCustomAttribute(this ParameterInfo, Type) : Attribute

Retrieves a custom attribute of a specified type that is applied to a specified parameter.

static
GetCustomAttribute(this MemberInfo, Type, bool) : Attribute

Retrieves a custom attribute of a specified type that is applied to a specified member, and optionally inspects the ancestors of that member.

static
GetCustomAttribute(this ParameterInfo, Type, bool) : Attribute

Retrieves a custom attribute of a specified type that is applied to a specified parameter, and optionally inspects the ancestors of that parameter.

static
GetCustomAttribute<T>(this Assembly) : T

Retrieves a custom attribute of a specified type that is applied to a specified assembly.

static
GetCustomAttribute<T>(this MemberInfo) : T

Retrieves a custom attribute of a specified type that is applied to a specified member.

static
GetCustomAttribute<T>(this Module) : T

Retrieves a custom attribute of a specified type that is applied to a specified module.

static
GetCustomAttribute<T>(this ParameterInfo) : T

Retrieves a custom attribute of a specified type that is applied to a specified parameter.

static
GetCustomAttribute<T>(this MemberInfo, bool) : T

Retrieves a custom attribute of a specified type that is applied to a specified member, and optionally inspects the ancestors of that member.

static
GetCustomAttribute<T>(this ParameterInfo, bool) : T

Retrieves a custom attribute of a specified type that is applied to a specified parameter, and optionally inspects the ancestors of that parameter.

static
GetCustomAttributes(this Assembly) : IEnumerable<Attribute>

Retrieves a collection of custom attributes that are applied to a specified assembly.

static
GetCustomAttributes(this MemberInfo) : IEnumerable<Attribute>

Retrieves a collection of custom attributes that are applied to a specified member.

static
GetCustomAttributes(this Module) : IEnumerable<Attribute>

Retrieves a collection of custom attributes that are applied to a specified module.

static
GetCustomAttributes(this ParameterInfo) : IEnumerable<Attribute>

Retrieves a collection of custom attributes that are applied to a specified parameter.

static
GetCustomAttributes(this Assembly, Type) : IEnumerable<Attribute>

Retrieves a collection of custom attributes of a specified type that are applied to a specified assembly.

static
GetCustomAttributes(this MemberInfo, bool) : IEnumerable<Attribute>

Retrieves a collection of custom attributes that are applied to a specified member, and optionally inspects the ancestors of that member.

static
GetCustomAttributes(this MemberInfo, Type) : IEnumerable<Attribute>

Retrieves a collection of custom attributes of a specified type that are applied to a specified member.

static
GetCustomAttributes(this Module, Type) : IEnumerable<Attribute>

Retrieves a collection of custom attributes of a specified type that are applied to a specified module.

static
GetCustomAttributes(this ParameterInfo, bool) : IEnumerable<Attribute>

Retrieves a collection of custom attributes that are applied to a specified parameter, and optionally inspects the ancestors of that parameter.

static
GetCustomAttributes(this ParameterInfo, Type) : IEnumerable<Attribute>

Retrieves a collection of custom attributes of a specified type that are applied to a specified parameter.

static
GetCustomAttributes(this MemberInfo, Type, bool) : IEnumerable<Attribute>

Retrieves a collection of custom attributes of a specified type that are applied to a specified member, and optionally inspects the ancestors of that member.

static
GetCustomAttributes(this ParameterInfo, Type, bool) : IEnumerable<Attribute>

Retrieves a collection of custom attributes of a specified type that are applied to a specified parameter, and optionally inspects the ancestors of that parameter.

static
GetCustomAttributes<T>(this Assembly) : IEnumerable<T>

Retrieves a collection of custom attributes of a specified type that are applied to a specified assembly.

static
GetCustomAttributes<T>(this MemberInfo) : IEnumerable<T>

Retrieves a collection of custom attributes of a specified type that are applied to a specified member.

static
GetCustomAttributes<T>(this Module) : IEnumerable<T>

Retrieves a collection of custom attributes of a specified type that are applied to a specified module.

static
GetCustomAttributes<T>(this ParameterInfo) : IEnumerable<T>

Retrieves a collection of custom attributes of a specified type that are applied to a specified parameter.

static
GetCustomAttributes<T>(this MemberInfo, bool) : IEnumerable<T>

Retrieves a collection of custom attributes of a specified type that are applied to a specified member, and optionally inspects the ancestors of that member.

static
GetCustomAttributes<T>(this ParameterInfo, bool) : IEnumerable<T>

Retrieves a collection of custom attributes of a specified type that are applied to a specified parameter, and optionally inspects the ancestors of that parameter.

static
IsDefined(this Assembly, Type) : bool

Indicates whether custom attributes of a specified type are applied to a specified assembly.

static
IsDefined(this MemberInfo, Type) : bool

Indicates whether custom attributes of a specified type are applied to a specified member.

static
IsDefined(this Module, Type) : bool

Indicates whether custom attributes of a specified type are applied to a specified module.

static
IsDefined(this ParameterInfo, Type) : bool

Indicates whether custom attributes of a specified type are applied to a specified parameter.

static
IsDefined(this MemberInfo, Type, bool) : bool

Indicates whether custom attributes of a specified type are applied to a specified member, and, optionally, applied to its ancestors.

static
IsDefined(this ParameterInfo, Type, bool) : bool

Indicates whether custom attributes of a specified type are applied to a specified parameter, and, optionally, applied to its ancestors.