PostSharp 4.3 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Aspects.​Advices Namespace / Copy­Custom­Attributes­Attribute Class / Copy­Custom­Attributes­Attribute Properties
CopyCustomAttributesAttribute Properties

The CopyCustomAttributesAttribute type exposes the following members.

Properties
  Name Description
Public property Description
A human-readable description of the current advice.
(Inherited from Advice.)
Public property LinesOfCodeAvoided
Reduction in the code lines count achieved by applying the advice instance to one code element.
(Inherited from Advice.)
Public property OverrideAction
Determines what should happen when a custom attribute of the same type is already present on the target declaration.
Public property Types
Gets the list of custom attribute types to be copied.
See Also