Class NodePath

Assembly: redb.Tsak.Web.dll

The node a dashboard address is about. Node pages live under node/{nodeId}/...; the node id is the segment
after node/, and everything after it (sub-page, entity, query) belongs to that node's page.

public static class NodePath

Inheritance

Object→NodePath

Methods

NodeIdOf(string)

The node id of a base-relative path (node/w2/monitoring?range=60 gives w2), or null.

public static string? NodeIdOf(string baseRelativePath)

WithNode(string, string)

The same address on another node: the node segment is replaced, the sub-page, the entity segments, the query

public static string WithNode(string baseRelativePath, string nodeId)