123456789101112131415161718192021222324252627 |
- using System;
- namespace PaintDotNet.Measurement
- {
- /// <summary>
- /// Stores data that should be serializable/deserializable
- /// for a HistoryMemento.
- /// </summary>
- [Serializable]
- public abstract class HistoryMementoData : IDisposable
- {
- ~HistoryMementoData()
- {
- Dispose(false);
- }
- public void Dispose()
- {
- Dispose(true);
- GC.SuppressFinalize(this);
- }
- protected virtual void Dispose(bool disposing)
- {
- }
- }
- }
|