PostSharp 6.7 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Model Namespace / Aggregatable­Services Class / Aggregatable­Services Methods / Aggregatable­Services.​Unadvise Method

AggregatableServices.Unadvise Method

Removes the Aggregatable advise from an object.

Namespace:  PostSharp.Patterns.Model
Assembly:  PostSharp.Patterns.Aggregation (in PostSharp.Patterns.Aggregation.dll) Version: 6.7.12.0 (6.7.12.0)
Syntax
C#
public static bool Unadvise(
	Object obj
)

Parameters

obj
Type: System.Object
An AdvisableCollection<T> or AdvisableDictionary<TKey, TValue>,

Return Value

Type: Boolean
true if the impl was removed from obj, false if obj did not have the Aggregatable impl.
See Also