MetalamaAPI documentationPost­Sharp API migrationPost­Sharp.​Aspects.​AdvicesCopy­Custom­Attributes­Attribute
Open sandboxFocus

CopyCustomAttributesAttribute Class

In Metalama, all custom attributes except Metalama ones are copied from the template to the introduced declaration.

Inheritance
System.Object
CopyCustomAttributesAttribute
Namespace: PostSharp.Aspects.Advices
Assembly: Metalama.Migration.dll
Syntax
public sealed class CopyCustomAttributesAttribute : Advice

Constructors

Name Description
CopyCustomAttributesAttribute(Type)
CopyCustomAttributesAttribute(Type[])

Properties

Name Description
OverrideAction
Types