30 lines
513 B
C#
30 lines
513 B
C#
using System;
|
|
using System.ComponentModel;
|
|
using MongoDB.Bson.Serialization.Attributes;
|
|
|
|
namespace ET
|
|
{
|
|
public abstract class DisposeObject: Object, IDisposable, ISupportInitialize
|
|
{
|
|
public virtual void Dispose()
|
|
{
|
|
}
|
|
|
|
public virtual void BeginInit()
|
|
{
|
|
}
|
|
|
|
public virtual void EndInit()
|
|
{
|
|
}
|
|
}
|
|
|
|
public interface IPool
|
|
{
|
|
bool IsFromPool
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
}
|
|
} |