/// <summary> /// When this method is called, an object will not fire change /// notifications (neither traditional nor Observable notifications) /// until the return value is disposed. /// </summary> /// <returns>An object that, when disposed, reenables change /// notifications.</returns> public IDisposable SuppressChangeNotifications() { return(IReactiveObjectExtensions.SuppressChangeNotifications(this)); }
/// <summary> /// Delays notifications until the return IDisposable is disposed. /// </summary> /// <returns>A disposable which when disposed will send delayed notifications.</returns> public IDisposable DelayChangeNotifications() => IReactiveObjectExtensions.DelayChangeNotifications(this);
/// <summary> /// Gets a value indicating if change notifications are enabled. /// </summary> /// <returns>A value indicating if change notifications are on or off.</returns> public bool AreChangeNotificationsEnabled() { return(IReactiveObjectExtensions.AreChangeNotificationsEnabled(this)); }
/// <summary> /// Determines if change notifications are enabled or not. /// </summary> /// <returns>A value indicating whether change notifications are enabled.</returns> public bool AreChangeNotificationsEnabled() => IReactiveObjectExtensions.AreChangeNotificationsEnabled(this);