GetAttributes

GetAttributes(Assembly)

public static Attribute[] GetAttributes(Assembly assembly) ;

Description

Get Attributes.

Parameters

Parameter Name Description
assembly Assembly

Returns

Attributes

GetAttributes<T>(Assembly)

public static T[] GetAttributes<T>(Assembly assembly) ;

Description

Get Attribute (generic)

Type Parameters

Type Parameter Name Description Type Constraints
T Target Type
  • Attribute

Parameters

Parameter Name Description
assembly Assembly

Returns

Attribute

GetAttributes(MemberInfo)

public static Attribute[] GetAttributes(MemberInfo member) ;

Description

Get Attributes.

Parameters

Parameter Name Description
member MemberInfo

Returns

Attributes

GetAttributes(Type)

public static Attribute[] GetAttributes(Type type) ;

Description

Get Attributes.

Parameters

Parameter Name Description
type Type

Returns

Attributes

GetAttributes<T>(MemberInfo)

public static T[] GetAttributes<T>(MemberInfo member) ;

Description

Get Attribute (generic)

Type Parameters

Type Parameter Name Description Type Constraints
T Target Type
  • Attribute

Parameters

Parameter Name Description
member MemberInfo

Returns

Attribute

GetAttributes<T>(Type)

public static T[] GetAttributes<T>(Type type) ;

Description

Get Attribute (generic)

Type Parameters

Type Parameter Name Description Type Constraints
T Target Type
  • Attribute

Parameters

Parameter Name Description
type Type

Returns

Attribute