PostSharp6.2/API Reference/Post­Sharp.​Aspects Namespace/Aspect­Specification Class/Aspect­Specification Constructor

AspectSpecification Constructor

Initializes a new AspectSpecification when one cannot provide an aspect instance, i.e. from an ObjectConstruction and a AspectConfiguration.

Namespace:  PostSharp.Aspects
Assembly:  PostSharp (in PostSharp.dll) Version: 6.2.13.0 (6.2.13.0)
Syntax
C#
protected AspectSpecification(
	ObjectConstruction aspectConstruction,
	AspectConfiguration aspectConfiguration
)

Parameters

aspectConstruction
Type: PostSharp.Reflection.ObjectConstruction
Aspect construction.
aspectConfiguration
Type: PostSharp.Aspects.Configuration.AspectConfiguration
Aspect configuration.
See Also