Class RelativePath
- Namespace
- Shift.Common
- Assembly
- Shift.Common.dll
public class RelativePath
- Inheritance
-
RelativePath
- Inherited Members
-
- Extension Methods
-
Constructors
RelativePath(string, char)
public RelativePath(string value, char separator = '/')
Parameters
value string
separator char
RelativePath(string, string, char)
public RelativePath(string name, string value, char separator = '/')
Parameters
name string
value string
separator char
Properties
IsCurrentRelative
public bool IsCurrentRelative { get; }
Property Value
- bool
IsRootRelative
public bool IsRootRelative { get; }
Property Value
- bool
Name
public string Name { get; set; }
Property Value
- string
Separator
public char Separator { get; set; }
Property Value
- char
Value
public string Value { get; set; }
Property Value
- string
Methods
Clone()
public RelativePath Clone()
Returns
- RelativePath
CountSegments()
public int CountSegments()
Returns
- int
HasSegments()
public bool HasSegments()
Returns
- bool
RemoveLastSegment()
public void RemoveLastSegment()