Open sandboxFocus

Constructor CopyCustomAttributesAttribute

CopyCustomAttributesAttribute(Type)

Initializes a new instance of the CopyCustomAttributesAttribute class that requires custom attributes present on the aspect class or aspect class member to be copied to the aspect target or to the introduced member, respectively.

Declaration
public CopyCustomAttributesAttribute(Type type)
Parameters
Type Name Description
Type type

The base type of the custom attributes to copy.

CopyCustomAttributesAttribute(params Type[])

Initializes a new instance of the CopyCustomAttributesAttribute class that requires custom attributes present on the aspect class or aspect class member to be copied to the aspect target or to the introduced member, respectively.

Declaration
public CopyCustomAttributesAttribute(params Type[] types)
Parameters
Type Name Description
Type[] types

The base types of the custom attributes to copy.