Eplan Platform API
Eplan.EplApi.DataModel Namespace / UndoManager Class
Members Example

In This Topic
    UndoManager Class
    In This Topic
    Class representing DataModel's Undo. It implements System.IDisposable interface.
    Inheritance Hierarchy

    System.Object
       Eplan.EplApi.DataModel.UndoManager

    Syntax
    public class UndoManager 
    public ref class UndoManager 
    Example
    UndoStep usage - only inside "using".
    using (UndoStep undo = new UndoManager().CreateUndoStep())
    {
    	using(Transaction txn = new TransactionManager().CreateTransaction())
    	{
    		Function f;
    		f.Name = "F1";
    		txn.Commit();
    	}
        undo.DoUndo();
    }
    Public Constructors
     NameDescription
    Public ConstructorConstructor.  
    Top
    Public Methods
     NameDescription
    Public MethodCreates object representing a UndoStep.  
    Public MethodVirtual deterministic destructor.  
    Top
    See Also