Beispiel #1
0
 /// <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));
 }
Beispiel #2
0
 /// <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);
Beispiel #3
0
 /// <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));
 }
Beispiel #4
0
 /// <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);