logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class MenuNavigationNode

    One view MenuReachabilityWalker resolved during a walk: what it is (Kind) and every edge it declares outward, whatever kind of view it turned out to be. Replaces the walker's old three-bucket classification (menu / known non-menu / unresolved) with a single typed node so a caller can treat every view kind uniformly instead of special-casing each one.

    Inheritance
    object
    MenuNavigationNode
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    Namespace: Serenity.Menu.Application.Navigation
    Assembly: Serenity.Menu.Application.dll
    Syntax
    public sealed class MenuNavigationNode

    Constructors

    MenuNavigationNode(string, ViewKind, IReadOnlyList<NavigationEdge>)

    Declaration
    public MenuNavigationNode(string viewId, ViewKind kind, IReadOnlyList<NavigationEdge> outboundEdges)
    Parameters
    Type Name Description
    string viewId
    ViewKind kind
    IReadOnlyList<NavigationEdge> outboundEdges

    Properties

    Kind

    Gets what kind of view this id resolved to.

    Declaration
    public ViewKind Kind { get; }
    Property Value
    Type Description
    ViewKind

    The view kind.

    OutboundEdges

    Gets every edge this view declares outward: a menu's TRANSITION targets, a composite's hosted menus, or a non-menu view's own return/show-view targets.

    Declaration
    public IReadOnlyList<NavigationEdge> OutboundEdges { get; }
    Property Value
    Type Description
    IReadOnlyList<NavigationEdge>

    The outbound edges, in declaration order.

    ViewId

    Gets the id this node was resolved under.

    Declaration
    public string ViewId { get; }
    Property Value
    Type Description
    string

    The view id.

    In this article
    © 2026 Serenity. All Rights Reserved