Open sandboxFocus

Class CopyCustomAttributesAttribute

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

Inheritance
CopyCustomAttributesAttribute
Namespace: PostSharp.Aspects.Advices
Assembly: Metalama.Migration.dll
Syntax
[AttributeUsage(AttributeTargets.Class|AttributeTargets.Method|AttributeTargets.Property|AttributeTargets.Event)]
[Obsolete("In Metalama, all custom attributes except Metalama ones are copied from the template to the introduced declaration.", false)]
public sealed class CopyCustomAttributesAttribute : Advice

Constructors

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

Properties

Name Description
OverrideAction
Types