using System; namespace Server.Core { /// /// 引用池对象 /// public interface IReference : IDisposable { bool IsFromPool { get; set; } long ReferenceId { get; set; } } public abstract class Reference : IReference { public bool IsFromPool { get; set; } public long ReferenceId { get; set; } public abstract void Dispose(); } }