CustomAttributeIntroductionAspect Constructor (ObjectConstruction) |
Initializes a new CustomAttributeIntroductionAspect by specifying an ObjectConstruction.
Namespace: PostSharp.Aspects
Assembly: PostSharp (in PostSharp.dll) Version: 2023.0.3.0 (2023.0.3.0)
C#
public CustomAttributeIntroductionAspect( ObjectConstruction attribute )
Parameters
- attribute
- Type: PostSharp.Reflection.ObjectConstruction
Construction of the custom attribute to be added to the target.