bramborman / NotifyPropertyChangedBase

A simple to use yet powerful implementation of INotifyPropertyChanged.
https://www.nuget.org/packages/NotifyPropertyChangedBase/
MIT License
10 stars 1 forks source link

Add IDisposable pattern support for pausing of invoking events #51

Open bramborman opened 4 years ago

bramborman commented 4 years ago

We should support something like the example below to make pausing events easier.

using (var foo = PauseXXXEvent())
{
    // Do your stuff
}