vs-validation/IDisposableObservable.cs

22 строки
693 B
C#

//-----------------------------------------------------------------------
// <copyright file="IDisposableObservable.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
namespace Microsoft
{
using System;
/// <summary>
/// A disposable object that also provides a safe way to query its disposed status.
/// </summary>
public interface IDisposableObservable : IDisposable
{
/// <summary>
/// Gets a value indicating whether this instance has been disposed.
/// </summary>
bool IsDisposed { get; }
}
}