年度变更建库软件5.0版本
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
509 B

4 months ago
using System;
namespace Kingo.Plugin.NYYP
{
sealed class SerialDisposable
: IDisposable
{
IDisposable content;
public IDisposable Content
{
get { return content; }
set
{
if (content != null)
{
content.Dispose();
}
content = value;
}
}
public void Dispose()
{
Content = null;
}
}
}