PostSharp 4.3 / / 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.Common (in PostSharp.Patterns.Common.dll) Version: 4.3.48.0 (4.3.48.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