public DisposeMe() { if (Instance != null) { throw new Exception("There is a DisposeMe being used."); } Instance = this; }
public void Dispose() { Instance = null; }