Table of Contents

Class UndoHandler

Namespace
Macad.Core
Assembly
Macad.Core.dll
public sealed class UndoHandler : BaseObject
Inheritance
UndoHandler

Properties

public bool CanRedo { get; }
Property Value: bool

public bool CanUndo { get; }
Property Value: bool

Methods

public void AddDataBlockChange(IUndoableDataBlob instance)
instance IUndoableDataBlob

public void AddPropertyChange(Entity instance, string propertyName = "", object clone = null)
instance Entity
propertyName string
clone object

public void AddTopologyChange(UndoHandler.TopologyAction topologyAction, IUndoableTopology container, Entity instance)
topologyAction UndoHandler.TopologyAction
container IUndoableTopology
instance Entity

public void Commit()

public void DoRedo(int steps)
steps int

public void DoUndo(int steps)
steps int

public Entity FindEntityInstance(Guid instanceGuid)
instanceGuid Guid
Returns: Entity