In Metalama, all custom attributes except Metalama ones are copied from the template to the introduced declaration.
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 : AdviceConstructors
| Name | Description |
|---|---|
| CopyCustomAttributesAttribute(Type) | |
| CopyCustomAttributesAttribute(params Type[]) |
Properties
| Name | Description |
|---|---|
| OverrideAction | |
| Types |