PostSharp6.3/API Reference/Post­Sharp.​Patterns.​Dynamic­Advising Namespace/IDynamically­Advisable Interface/IDynamically­Advisable Methods/IDynamically­Advisable.​Advise Method

IDynamicallyAdvisable.Advise Method

Namespace:  PostSharp.Patterns.DynamicAdvising
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.3.11.0 (6.3.11.0)
Syntax
C#
bool Advise(
	Type type,
	Func<IQueryInterface, IDynamicAdvice> createAdvice
)

Parameters

type
Type: System.Type
createAdvice
Type: System.Func<IQueryInterface, IDynamicAdvice>

Return Value

Type: Boolean
See Also