Search Results for

    Show / Hide Table of Contents
    View Source

    Class DynamicRootNodeQuery

    Specifies origin and context data with optional query steps to find Dynamic Roots

    Inheritance
    object
    Namespace: Umbraco.Cms.Core.DynamicRoot
    Assembly: Umbraco.Core.dll
    Syntax
    public class DynamicRootNodeQuery

    Constructors

    View Source

    DynamicRootNodeQuery()

    Declaration
    public DynamicRootNodeQuery()

    Properties

    View Source

    Context

    Gets or sets the context containing current and parent content information for resolving the dynamic root.

    Declaration
    public required DynamicRootContext Context { get; set; }
    Property Value
    Type Description
    DynamicRootContext
    View Source

    OriginAlias

    Gets or sets the alias identifying the type of origin finder to use (e.g., "ByKey", "Root", "Current", "Parent", "Site", "ContentRoot").

    Declaration
    public required string OriginAlias { get; set; }
    Property Value
    Type Description
    string
    View Source

    OriginKey

    Gets or sets the optional unique identifier for the origin content item, used by certain origin finders like "ByKey".

    Declaration
    public Guid? OriginKey { get; set; }
    Property Value
    Type Description
    Guid?
    View Source

    QuerySteps

    Gets or sets the collection of query steps to apply after finding the origin to further filter or traverse the content tree.

    Declaration
    public IEnumerable<DynamicRootQueryStep> QuerySteps { get; set; }
    Property Value
    Type Description
    IEnumerable<DynamicRootQueryStep>
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX