VNodeLayoutAccessor

Class
Namespace: RazorConsole.Core.Vdom
Assembly: RazorConsole.Core

Definition

public sealed class VNodeLayoutAccessor : IVNodeLayoutAccessor

Constructors

1
NameTypeDescription
VNodeLayoutAccessor()Constructor—

Methods

9
NameTypeDescription
GetLayoutAncestorsByFocusKey(string)()IReadOnlyList<VNodeLayoutInfo>Gets available ancestor layout metadata from the root node to the node associated with the supplied focus key.
GetLayoutAncestorsByHookKey(string)()IReadOnlyList<VNodeLayoutInfo>Gets available ancestor layout metadata from the root node to the node associated with the supplied hook key.
GetLayoutAncestorsByVNodeId(string)()IReadOnlyList<VNodeLayoutInfo>Gets available ancestor layout metadata from the root node to the requested node.
GetLayoutByFocusKeyOrDefault(string)()Nullable<VNodeLayoutInfo>Gets layout metadata by focus key.
GetLayoutByHookKeyOrDefault(string)()Nullable<VNodeLayoutInfo>Gets layout metadata by hook key.
GetLayoutByVNodeIdOrDefault(string)()Nullable<VNodeLayoutInfo>Gets layout metadata by VNode ID.
TryGetLayoutByFocusKey(string, out VNodeLayoutInfo)()BooleanAttempts to resolve layout metadata by focus key.
TryGetLayoutByHookKey(string, out VNodeLayoutInfo)()BooleanAttempts to resolve layout metadata by hook key.
TryGetLayoutByVNodeId(string, out VNodeLayoutInfo)()BooleanAttempts to resolve layout metadata by VNode ID.