PostSharp.ILAPI ReferencePost­Sharp.​AspectsAspect­Specification
Open sandboxFocus

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).

Inheritance
AspectSpecification
Namespace: PostSharp.Aspects
Assembly: PostSharp.dll
Syntax
public class AspectSpecification : Object

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.