Search Results for

    Show / Hide Table of Contents

    Class DeleteNodeOperation

    Default implementation of the IDeleteNodeOperation interface.

    Inheritance
    System.Object
    DeleteNodeOperation
    Implements
    IDeleteNodeOperation
    IAbstractEditOperation
    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, IAbstractEditOperation

    Constructors

    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)

    Calls VisitDeleteNodeOperation(IDeleteNodeOperation)

    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()

    Implements

    IDeleteNodeOperation
    IAbstractEditOperation

    Extension Methods

    WindowsControlUtils.ForWindowFromFrameworkElement(Object, Action<Window>)

    On this page

    • Constructors
      • DeleteNodeOperation(INode, IAbstractContainerNode, Int32)
    • Properties
      • IndexInParent
      • Node
      • Parent
    • Methods
      • AcceptVisitor(IEditOperationVisitor)
      • ToString()
    • Implements
    • Extension Methods
    Back to top Generated by DocFX