[IoId("00000000-3d0b-46ce-9370-059e4f011f28")] [UiName("Parameter Data")] public sealed class PersistentDataAction : ObjectAction<IParameter>
Undo action for parameter persistent data changes.

Constructors

PersistentDataAction

#
Create a new persistent data undo action.
public PersistentDataAction(
parameter,
Parameter whose persisent data to track.
actionIdentifier
Runtime identifier. Subsequent actions for the same parameter with the same identifier are merged into a single action.
)

PersistentDataAction

#
public PersistentDataAction(
reader
)

Properties

Data

#
public ITree Data { get; }

Id

Gets the IDocumentObject.InstanceId of the object associated with this action.
public Guid Id { get; }
inherited fromObjectAction

Response

Gets the automatic response required by this action.
public Effects Response { get; }
inherited fromAction

State

Gets the state this action is in.
public State State { get; }
inherited fromAction

Methods

Extends

#
public override bool Extends(
action
)
Action.Extends

PerformRedo

Redo this action. This is only allowed if the Action.State equals State.Redo.
public bool PerformRedo()
inherited fromAction

PerformRedoInternal

protected sealed override void PerformRedoInternal()
inherited fromObjectAction<T>

PerformRedoInternal

protected sealed override void PerformRedoInternal()
inherited fromObjectAction

PerformRedoInternalT

#
protected override void PerformRedoInternalT()

PerformUndo

Undo this action. This is only allowed if the Action.State equals State.Undo.
public bool PerformUndo()
inherited fromAction

PerformUndoInternal

protected sealed override void PerformUndoInternal()
inherited fromObjectAction<T>

PerformUndoInternal

protected sealed override void PerformUndoInternal()
inherited fromObjectAction

PerformUndoInternalT

#
protected override void PerformUndoInternalT()

PrepareRedo

Run the preperatory work for a redo operation. The Action.PerformRedo(Document) method ought never be called without a preceding call to Action.PrepareRedo(Document), although note that a call to Action.PrepareRedo(Document) is not necessarily followed by a call to Action.PerformRedo(Document).
public bool PrepareRedo()
inherited fromAction

PrepareRedoInternal

protected sealed override void PrepareRedoInternal()
inherited fromObjectAction<T>

PrepareRedoInternal

protected sealed override void PrepareRedoInternal()
inherited fromObjectAction

PrepareRedoInternalT

protected virtual void PrepareRedoInternalT(
doc,
T
obj
)
inherited fromObjectAction<T>

PrepareUndo

Run the preperatory work for an undo operation. The Action.PerformUndo(Document) method ought never be called without a preceding call to Action.PrepareUndo(Document), although note that a call to Action.PrepareUndo(Document) is not necessarily followed by a call to Action.PerformUndo(Document).
public bool PrepareUndo()
inherited fromAction

PrepareUndoInternal

protected sealed override void PrepareUndoInternal()
inherited fromObjectAction<T>

PrepareUndoInternal

protected sealed override void PrepareUndoInternal()
inherited fromObjectAction

PrepareUndoInternalT

protected virtual void PrepareUndoInternalT(
doc,
T
obj
)
inherited fromObjectAction<T>

Store

#
public override void Store(
writer
)