Class CustomAttributeIntroductionAspect
Aspect that, when applied to a target, adds a custom attribute to this target.
Namespace: PostSharp.Aspects
Assembly: PostSharp.dll
Syntax
[LinesOfCodeAvoided(1)]
public sealed class CustomAttributeIntroductionAspect : Object, ICustomAttributeIntroductionAspect, IAspect, IAspectBuildSemantics, IValidableAnnotation
Constructors
Name | Description |
---|---|
CustomAttributeIntroductionAspect(ObjectConstruction) | Initializes a new CustomAttributeIntroductionAspect by specifying an ObjectConstruction. |
CustomAttributeIntroductionAspect(CustomAttributeData) | Initializes a new CustomAttributeIntroductionAspect by specifying a CustomAttributeData. |
Properties
Name | Description |
---|---|
CustomAttribute | Gets the construction of the custom attribute that must be applied to the target of this aspect. |
Explicit Interface Implementations
Name | Description |
---|---|
IAspectBuildSemantics.GetAspectConfiguration(Object) | |
IValidableAnnotation.CompileTimeValidate(Object) |