ICancelable.cs 561 B

1234567891011121314151617
  1. // Licensed to the .NET Foundation under one or more agreements.
  2. // The .NET Foundation licenses this file to you under the Apache 2.0 License.
  3. // See the LICENSE file in the project root for more information.
  4. namespace System.Reactive.Disposables
  5. {
  6. /// <summary>
  7. /// Disposable resource with disposal state tracking.
  8. /// </summary>
  9. public interface ICancelable : IDisposable
  10. {
  11. /// <summary>
  12. /// Gets a value that indicates whether the object is disposed.
  13. /// </summary>
  14. bool IsDisposed { get; }
  15. }
  16. }