PostSharp6.4//API Reference/Post­Sharp.​Aspects Namespace/Aspect­Instance Class/Aspect­Instance Constructor

AspectInstance Constructor

Overload List
  NameDescription
Public methodAspectInstance(Object, IAspect)
Initializes a new AspectInstance from a runtime aspect instance (IAspect).
Public methodAspectInstance(Object, ObjectConstruction)
Initializes a new AspectInstance from an ObjectConstruction.
Public methodAspectInstance(Object, IAspect, AspectConfiguration)
Initializes a new AspectInstance from a runtime aspect instance (IAspect) and its AspectConfiguration.
Public methodAspectInstance(Object, ObjectConstruction, AspectConfiguration)
Initializes a new AspectInstance from an ObjectConstruction and specifies an AspectConfiguration object.
See Also