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 SourceDynamicRootNodeQuery()
Declaration
public DynamicRootNodeQuery()
Properties
View SourceContext
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 |
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 |
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? |
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> |