PostSharp 6.9 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Dynamic­Advising Namespace / Dynamic­Advice Class / Dynamic­Advice Methods / Dynamic­Advice.​Initialize Method

DynamicAdvice.Initialize Method

Initializes the current advice.

Namespace:  PostSharp.Patterns.DynamicAdvising
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.9.1.0 (6.9.1.0)
Syntax
C#
public virtual 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.

Implements

IDynamicAdvice.Initialize(IQueryInterface, AdviceEnumerator<IDynamicAdvice>)
See Also