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

IDynamicallyAdvisable.Unadvise Method

Removes an advice from the object.

Namespace:  PostSharp.Patterns.DynamicAdvising
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.1.23.0 (6.1.23.0)
Syntax
C#
bool Unadvise(
	Type type
)

Parameters

type
Type: System.Type
The advice type identity.

Return Value

Type: Boolean
true if the advice was removed, false if it was not present.
See Also