|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
|
|
|
|
namespace Study.DelegateSeries.Test.UseFixture
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 类级别实例共享 例子类
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class ClassFixtureDemo : IDisposable
|
|
|
|
|
{
|
|
|
|
|
public string ShowSelf()
|
|
|
|
|
{
|
|
|
|
|
return this.GetType().Name;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void IDisposable.Dispose()
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|