NotifyPropertyChangedServices.SignalPropertyChanged Method |
Namespace: PostSharp.Patterns.Model
Assembly: PostSharp.Patterns.Model (in PostSharp.Patterns.Model.dll) Version: 6.9.11.0 (6.9.11.0)
public static void SignalPropertyChanged( Object instance, string propertyName )
Parameters
- instance
- Type: System.Object
An instance of a class instrumented with the NotifyPropertyChangedAttribute aspect - propertyName
- Type: System.String
Name of the changed property.
This methods invokes the OnPropertyChanged 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 OnPropertyChanged method synchronously.