Completely specifies an aspect instance (but not its target). An AspectSpecification either the aspect instance itself (Aspect property), either information allowing to construct the aspect (AspectConstruction) and configure the weaver (AspectConfiguration).
Namespace: PostSharp.Aspects
Assembly: PostSharp.dll
Syntax
public class AspectSpecificationRemarks
User code cannot create an instance of the AspectSpecification class. Always create an instance of AspectInstance instead.
Constructors
| Name | Description |
|---|---|
| AspectSpecification(ObjectConstruction, AspectConfiguration) | Initializes a new AspectSpecification when one cannot provide an aspect instance, i.e. from an ObjectConstruction and a AspectConfiguration. |
Properties
| Name | Description |
|---|---|
| Aspect | Gets the aspect instance. |
| AspectAssemblyQualifiedTypeName | Gets the assembly-qualified type name of the aspect. |
| AspectConfiguration | Gets the aspect configuration. |
| AspectConstruction | Gets the aspect construction. |
| AspectTypeName | Gets the type name of the aspect. |