MailServer/MailServer/LumiSoft/Misc/AsyncOP.cs
2010-07-11 21:52:34 +00:00

50 lines
1.0 KiB
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace LumiSoft.Misc
{
/// <summary>
/// This is base class for asynchronous operation.
/// </summary>
public abstract class AsyncOP
{
/// <summary>
/// Default constructor.
/// </summary>
public AsyncOP()
{
}
#region Properties implementation
/// <summary>
/// Gets if this object is disposed.
/// </summary>
public abstract bool IsDisposed
{
get;
}
/// <summary>
/// Gets if asynchronous operation has completed.
/// </summary>
public abstract bool IsCompleted
{
get;
}
/// <summary>
/// Gets if operation completed synchronously.
/// </summary>
public abstract bool IsCompletedSynchronously
{
get;
}
#endregion
}
}