Class ConfigurationPath
- Namespace
- Acuit.Pinpoint.Configuration
- Assembly
- Acuit.Pinpoint.Configuration.dll
Utility methods and constants for manipulating Configuration paths
public static class ConfigurationPath
- Inheritance
-
ConfigurationPath
- Inherited Members
Fields
KeyDelimiter
The delimiter ":" used to separate individual keys in a path.
public static readonly string KeyDelimiter
Field Value
Methods
Combine(IEnumerable<string>)
Combines path segments into one path.
public static string Combine(IEnumerable<string> pathSegments)
Parameters
pathSegments
IEnumerable<string>The path segments to combine.
Returns
- string
The combined path.
Combine(params string[])
Combines path segments into one path.
public static string Combine(params string[] pathSegments)
Parameters
pathSegments
string[]The path segments to combine.
Returns
- string
The combined path.
GetParentPath(string)
Extracts the path corresponding to the parent node for a given path.
public static string GetParentPath(string path)
Parameters
path
stringThe path.
Returns
- string
The original path minus the last individual segment found in it. Null if the original path corresponds to a top level node.
GetSectionKey(string)
Extracts the last path segment from the path.
public static string GetSectionKey(string path)
Parameters
path
stringThe path.
Returns
- string
The last path segment of the path.