PostSharpAPI ReferencePost­Sharp.​Aspects.​AdvicesOn­Aspects­Initialized­Advice
Open sandboxFocus

OnAspectsInitializedAdvice Class

Custom attribute that, when applied to a method of an aspect class, specifies that this method should be invoked after the instances of all the aspects applied on the same target has been initialized. The target method must have a void return value and have a single parameter of type AspectInitializationReason.

Inheritance
OnAspectsInitializedAdvice
Namespace: PostSharp.Aspects.Advices
Assembly: PostSharp.dll
Syntax
[RequiresDebuggerEnhancement]
public sealed class OnAspectsInitializedAdvice : Advice

Constructors

Name Description
OnAspectsInitializedAdvice()