PostSharpAPI ReferencePost­Sharp.​Patterns.​ModelNotify­Property­Changed­Services
Open sandboxFocus

NotifyPropertyChangedServices Class

Utility methods to work with the NotifyPropertyChangedAttribute aspect.

Inheritance
NotifyPropertyChangedServices
Namespace: PostSharp.Patterns.Model
Assembly: PostSharp.Patterns.Model.dll
Syntax
public static class NotifyPropertyChangedServices : Object

Properties

Name Description
PropertyChangingAdapter

Gets or sets currently active NotifyPropertyChangingAdapter object.

Methods

Name Description
RaiseEventsImmediate(Object)

Raises all PropertyChanged events that are currently stored in the event buffer for the current thread and a given object.

ResumeEvents()

Resumes the raising of PropertyChanged events for the current thread after it has been suspending by the SuspendEvents() method.

SignalPropertyChanged(Object, String)

Signals the PropertyChanged event of an object that is instrumented with the NotifyPropertyChangedAttribute aspect.

SignalPropertyChanging(Object, String)

Signals the PropertyChanging event of an object that is instrumented with the NotifyPropertyChangedAttribute aspect.

SuspendEvents()

Suspends the raising of PropertyChanged events for the current thread.