2012-05-24 00:49:11 +04:00
|
|
|
|
//-----------------------------------------------------------------------
|
|
|
|
|
// <copyright file="IDisposableObservable.cs" company="Microsoft">
|
|
|
|
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
|
|
|
// </copyright>
|
|
|
|
|
//-----------------------------------------------------------------------
|
|
|
|
|
|
2012-06-15 02:25:17 +04:00
|
|
|
|
namespace Microsoft
|
2012-05-24 00:49:11 +04:00
|
|
|
|
{
|
|
|
|
|
using System;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// A disposable object that also provides a safe way to query its disposed status.
|
|
|
|
|
/// </summary>
|
2012-05-24 20:08:31 +04:00
|
|
|
|
public interface IDisposableObservable : IDisposable
|
2012-05-24 00:49:11 +04:00
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets a value indicating whether this instance has been disposed.
|
|
|
|
|
/// </summary>
|
|
|
|
|
bool IsDisposed { get; }
|
|
|
|
|
}
|
|
|
|
|
}
|