Search Results for

    Show / Hide Table of Contents

    Class EditorApiExtensions

    This implements the EditorApi extensions

    Inheritance
    object
    EditorApiExtensions
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Sdl.DesktopEditor.EditorApi.Extensions
    Assembly: Sdl.DesktopEditor.EditorApi.dll
    Syntax
    public static class EditorApiExtensions

    Methods

    ParentFirstOrDefault<T>(IAbstractNode)

    Gets the first parent of the node matching an assignable type.

    Declaration
    public static T ParentFirstOrDefault<T>(this IAbstractNode node) where T : class
    Parameters
    Type Name Description
    IAbstractNode node

    The node for whitch the search is done

    Returns
    Type Description
    T

    The first parent of type subclass or subinterface of T found or null if none was found.

    Type Parameters
    Name Description
    T

    Type parameter expected for the parent node or the assignable types.

    In this article
    • Methods
      • ParentFirstOrDefault<T>(IAbstractNode)
    Back to top Generated by DocFX