[IoId("00000000-c333-45fe-8c85-0fcb03a5dab4")] [UiName("Custom Value")] public sealed class CustomValueAction : ObjectAction<IDocumentObject>
Undo action for object custom values.

Constructors

CustomValueAction

#
public CustomValueAction(IDocumentObject obj, string filter = "*", Effects effects = Effects.ExpireSolution)
obj (IDocumentObject)
filter (string = "*")
effects (Effects = Effects.ExpireSolution)

CustomValueAction

#
public CustomValueAction(IReader reader)
reader (IReader)

Properties

Bytes

#
public byte[] Bytes { get; }

Id

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

Pattern

#
public string Pattern { get; }

Response

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

State

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

Methods

Extends

#
public override bool Extends(Action action)
action (Action)
Action.Extends

PerformRedo

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

PerformRedoInternal

protected sealed override void PerformRedoInternal(Document doc, IDocumentObject obj)
inherited fromObjectAction<T>

PerformRedoInternal

protected sealed override void PerformRedoInternal(Document doc)
inherited fromObjectAction
doc (Document)

PerformRedoInternalT

#
protected override void PerformRedoInternalT(Document doc, IDocumentObject obj)

PerformUndo

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

PerformUndoInternal

protected sealed override void PerformUndoInternal(Document doc, IDocumentObject obj)
inherited fromObjectAction<T>

PerformUndoInternal

protected sealed override void PerformUndoInternal(Document doc)
inherited fromObjectAction
doc (Document)

PerformUndoInternalT

#
protected override void PerformUndoInternalT(Document doc, IDocumentObject obj)

PrepareRedo

public bool PrepareRedo(Document doc)
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).
inherited fromAction
doc (Document)

PrepareRedoInternal

protected sealed override void PrepareRedoInternal(Document doc, IDocumentObject obj)
inherited fromObjectAction<T>

PrepareRedoInternal

protected sealed override void PrepareRedoInternal(Document doc)
inherited fromObjectAction
doc (Document)

PrepareRedoInternalT

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

PrepareUndo

public bool PrepareUndo(Document doc)
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).
inherited fromAction
doc (Document)

PrepareUndoInternal

protected sealed override void PrepareUndoInternal(Document doc, IDocumentObject obj)
inherited fromObjectAction<T>

PrepareUndoInternal

protected sealed override void PrepareUndoInternal(Document doc)
inherited fromObjectAction
doc (Document)

PrepareUndoInternalT

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

Store

#
public override void Store(IWriter writer)
writer (IWriter)