Click or drag to resize

GH_ArchivedUndoAction Class

Base class implementation for undo actions that require (de)serialization of data.
Inheritance Hierarchy

Namespace:  Grasshopper.Kernel.Undo
Assembly:  Grasshopper (in Grasshopper.dll)
Syntax
public abstract class GH_ArchivedUndoAction : GH_UndoAction

The GH_ArchivedUndoAction type exposes the following members.

Constructors
  NameDescription
Protected methodGH_ArchivedUndoAction
Initializes a new instance of the GH_ArchivedUndoAction class
Top
Properties
  NameDescription
Public propertyExpiresDisplay
Override this property if you want the Rhino viewport display to refresh upon undo completion.
(Inherited from GH_UndoAction.)
Public propertyExpiresSolution
Override this property if you want the Grasshopper solution to refresh upon undo completion.
(Inherited from GH_UndoAction.)
Public propertyState (Inherited from GH_UndoAction.)
Top
Methods
  NameDescription
Protected methodDeserialize
Deserializes the obj from the local archive.
Protected methodInternal_Redo (Inherited from GH_UndoAction.)
Protected methodInternal_Undo (Inherited from GH_UndoAction.)
Public methodRead (Overrides GH_UndoActionRead(GH_IReader).)
Public methodRedo (Inherited from GH_UndoAction.)
Protected methodSerialize
Serializes the obj into the local archive.
Protected methodSerializeToByteArray
Serializes the obj into the local archive.
Public methodUndo (Inherited from GH_UndoAction.)
Public methodWrite (Overrides GH_UndoActionWrite(GH_IWriter).)
Top
Fields
  NameDescription
Protected fieldm_data
Internal data storage for serialized archives.
Top
See Also