CopyCustomAttributesAttribute Class |
System.Attribute
PostSharp.Aspects.Advices.Advice
PostSharp.Aspects.Advices.CopyCustomAttributesAttribute
Namespace: PostSharp.Aspects.Advices
Assembly: PostSharp (in PostSharp.dll) Version: 6.5.19.0 (6.5.19.0)
public sealed class CopyCustomAttributesAttribute : Advice
The CopyCustomAttributesAttribute type exposes the following members.
Name | Description | |
---|---|---|
CopyCustomAttributesAttribute(Type) |
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.
| |
CopyCustomAttributesAttribute(Type[]) |
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.
|
Name | Description | |
---|---|---|
Description |
A human-readable description of the current advice.
(Inherited from Advice.) | |
LinesOfCodeAvoided |
Reduction in the code lines count achieved by applying the advice instance to one code element.
(Inherited from Advice.) | |
OverrideAction |
Determines what should happen when a custom attribute of the same
type is already present on the target declaration.
| |
Types |
Gets the list of custom attribute types to be copied.
|