PostSharp6.2/API Reference/Post­Sharp.​Patterns.​Dynamic­Advising Namespace/IDynamic­Advice Interface/IDynamic­Advice Methods/IDynamic­Advice.​Initialize Method

IDynamicAdvice.Initialize Method

Initializes the current advice.

Namespace:  PostSharp.Patterns.DynamicAdvising
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.2.13.0 (6.2.13.0)
Syntax
C#
void Initialize(
	IQueryInterface parent,
	AdviceEnumerator<IDynamicAdvice> nextAdvice
)

Parameters

parent
Type: PostSharp.Patterns.DynamicAdvising.IQueryInterface
The parent, dynamically-advisable object.
nextAdvice
Type: PostSharp.Patterns.DynamicAdvising.AdviceEnumerator<IDynamicAdvice>
The next advice in the chain.
See Also