Class ChangeGhostStatusOperation
Default implementation of the IChangeGhostStatusOperation interface.
Inheritance
Object
ChangeGhostStatusOperation
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
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 | |
| 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 |
|---|---|
| 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 |
|---|---|
| String |
Overrides
System.Object.ToString()