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

NotifyPropertyChangedServices.SignalPropertyChanging Method

SignalPropertyChanging(Object, String)

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

public static void SignalPropertyChanging(object instance, string propertyName)
Type Name Description
Object instance

An instance of a class instrumented with the NotifyPropertyChangedAttribute aspect

String propertyName

Name of the changed property.


This methods invokes the OnPropertyChanging method on the instance object. If the method has been defined in user code, it will be invoked.

The event is buffered and will actually be raised when the current thread exits the scope of the instance parameter. This methods invokes the OnPropertyChanging method synchronously.