Files
aj 38de7ab3a3 refactor(desktop): move Document and undo recording into OpenNest.Desktop
Document and Undo/ (ChangeScope, NestFingerprint, NestUndoState) use
only Core, Data, IO and Engine, so they move into the toolkit-neutral
library both desktop front ends share. Namespaces are unchanged, so the
WinForms app compiles as before; it keeps using the internal scope
factories and fingerprint through InternalsVisibleTo.

The scope, fingerprint and SaveAs/save-point rules now have Linux tests
in OpenNest.Desktop.Tests; before, only the Windows-only WinForms suite
covered them.
2026-10-29 18:40:49 -04:00

12 lines
291 B
C#

using OpenNest.Data;
using OpenNest.IO;
namespace OpenNest.Undo
{
/// <summary>One whole-nest state in a document's undo history.</summary>
public sealed record NestUndoState(NestSnapshot Snapshot) : IUndoState
{
public long SizeInBytes => Snapshot.SizeInBytes;
}
}