Interface IInstanceScopedAspect
Runtime semantics of aspects that have the same lifetime as instance of types to which their are applied (or instance of the declaring type of members to which they are applied).
Namespace: PostSharp.Aspects
Assembly: PostSharp.dll
Syntax
[HasInheritedAttribute]
public interface IInstanceScopedAspect : IAspect
Methods
Name | Description |
---|---|
CreateInstance(AdviceArgs) | Creates a new instance of the aspect based on the current instance, serving as a prototype. |
RuntimeInitializeInstance() | Initializes the aspect instance. This method is invoked when all system elements of the aspect (like member imports) have completed. |