Class DeleteNodeOperation
Default implementation of the IDeleteNodeOperation interface.
Inheritance
System.Object
    DeleteNodeOperation
  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 DeleteNodeOperation : IDeleteNodeOperation, IAbstractEditOperationConstructors
DeleteNodeOperation(INode, IAbstractContainerNode, Int32)
Construction from a deleted node and its location before it was deleted.
Declaration
public DeleteNodeOperation(INode deletedNode, IAbstractContainerNode parent, int indexInParent)Parameters
| Type | Name | Description | 
|---|---|---|
| INode | deletedNode | |
| IAbstractContainerNode | parent | |
| System.Int32 | indexInParent | 
Properties
IndexInParent
The index of the node before it was deleted from its parent container.
Declaration
public int IndexInParent { get; set; }Property Value
| Type | Description | 
|---|---|
| System.Int32 | 
Node
The deleted node.
Declaration
public INode Node { get; set; }Property Value
| Type | Description | 
|---|---|
| INode | 
Parent
The parent container the node was deleted from.
Declaration
public IAbstractContainerNode Parent { get; set; }Property Value
| Type | Description | 
|---|---|
| IAbstractContainerNode | 
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()