AspectSpecification Class |
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 (in PostSharp.dll) Version: 4.3.48.0 (4.3.48.0)
C#
public class AspectSpecification
The AspectSpecification type exposes the following members.
Name | Description | |
---|---|---|
AspectSpecification |
Initializes a new AspectSpecification when one cannot provide an aspect instance,
i.e. from an ObjectConstruction and a AspectConfiguration.
|
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.
|
Name | Description | |
---|---|---|
QueryInterface<T> |
Gets the implementation of a specified interface for the specified object.
(Defined by QueryInterfaceExtensions.) |
User code cannot create an instance of the AspectSpecification class. Always create an instance of
AspectInstance instead.