Class ChangeGhostStatusOperation
Default implementation of the IChangeGhostStatusOperation interface.
Inheritance
System.Object
ChangeGhostStatusOperation
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Sdl.DesktopEditor.EditorApi.Implementation
Assembly: Sdl.DesktopEditor.EditorApi.dll
Syntax
public class ChangeGhostStatusOperation : IChangeGhostStatusOperation, IAbstractEditOperation
Constructors
ChangeGhostStatusOperation(IStartEndNode, Boolean)
Construction from a start/end node and a previous status.
Declaration
public ChangeGhostStatusOperation(IStartEndNode node, bool statusBefore)
Parameters
Type | Name | Description |
---|---|---|
IStartEndNode | node | |
System.Boolean | statusBefore |
Properties
Node
The affected node.
Declaration
public IStartEndNode Node { get; set; }
Property Value
Type | Description |
---|---|
IStartEndNode |
StatusBefore
Status before change
Declaration
public bool StatusBefore { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
AcceptVisitor(IEditOperationVisitor)
Declaration
public void AcceptVisitor(IEditOperationVisitor visitor)
Parameters
Type | Name | Description |
---|---|---|
IEditOperationVisitor | visitor |
ToString()
Returns a clear text description of the operation.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
System.Object.ToString()