Assembly: PostSharp.Patterns.Model (in PostSharp.Patterns.Model.dll) Version: 188.8.131.52 (184.108.40.206)
public static bool SuspendEvents()
Return ValueType: Boolean
true if events were suspended as a result of the current method call, false if events were already suspended before.
The ResumeEvents() method should be invoked as many times as the method has been invoked, regardless of the return value of the method.
When events are suspended, they are still being collected in the event buffer, but the buffer is not flushed.