public static string GetRelativePath(string ancestorPath, string descendantPath) { return(SegmentHelper.GetRelativeStr(PathConsts.PathSeparator, ancestorPath, descendantPath)); }
public static int GetDepth(string path) { return(SegmentHelper.GetDepth(PathConsts.PathSeparator, path)); }
public static string GetDescendantsPattern(string path) { return(SegmentHelper.GetDescendantsPattern(PathConsts.PathSeparator, path)); }
public static string GetChildrenPattern(string path) { return(SegmentHelper.GetChildrenPattern(PathConsts.PathSeparator, path)); }
public static string GetParentPath(string path) { return(SegmentHelper.GetParentStr(PathConsts.PathSeparator, path)); }
public static string GetDescendantPath(string path, string relativePath) { return(SegmentHelper.GetDescendantStr(PathConsts.PathSeparator, path, relativePath)); }
public static string GetRelativeKey(string ancestorKey, string descendantKey) { return(SegmentHelper.GetRelativeStr(DictConsts.KeySeparator, ancestorKey, descendantKey)); }
public static int GetDepth(string key) { return(SegmentHelper.GetDepth(DictConsts.KeySeparator, key)); }
public static string GetChildrenPattern(string key) { return(SegmentHelper.GetChildrenPattern(DictConsts.KeySeparator, key)); }
public static string GetDescendantsPattern(string key) { return(SegmentHelper.GetDescendantsPattern(DictConsts.KeySeparator, key)); }
public static string GetDescendantKey(string key, string relativeKey) { return(SegmentHelper.GetDescendantStr(DictConsts.KeySeparator, key, relativeKey)); }
public static string GetParentKey(string key) { return(SegmentHelper.GetParentStr(DictConsts.KeySeparator, key)); }
public static string GetSegment(string key) { return(SegmentHelper.GetSegment(DictConsts.KeySeparator, key)); }