Update on disposables

Fellow Marker Metro dev Peter Goodman pointed out that if you’re using Reactive Extensions then you already have access to a type similar to the DisposableAction class I talked bout in Disposable Progress Indicators through a static method Disposable.Create.

Using that our Loading method becomes:

protected IDisposable Loading()
{
    IsLoading = true;
 
    return Disposable.Create(() => IsLoading = false);
}