PathSegmentList Class |
Namespace: ShellBoost.Core.Utilities
public sealed class PathSegmentList : IEquatable<PathSegmentList>, IComparable, IComparable<PathSegmentList>
The PathSegmentList type exposes the following members.
Name | Description | |
---|---|---|
PathSegmentList(IEnumerableString, StringComparer) |
Initializes a new instance of the PathSegmentList class.
The component must be valid file components.
| |
PathSegmentList(String, StringComparer) |
Initializes a new instance of the PathSegmentList class.
The file path must be valid file
|
Name | Description | |
---|---|---|
Empty |
Gets the empty PathSegmentList instance.
| |
FullPath |
Gets the full path that this instance represents.
| |
IsAbsolute |
Gets a value that indicates if this instance represents an absolute path.
| |
IsDevice |
Gets a value that indicates if this instance represents a path in the device namespace.
| |
IsDrive |
Gets a value that indicates if this instance represents a path below a logical drive (letter).
| |
IsLong |
Gets a value that indicates if this instance represents a path with the \\?\ prefix.
| |
IsRelative |
Gets a value that indicates if this instance represents a relative path.
| |
IsUnc |
Gets a value that indicates if this instance represents a UNC path.
| |
Last |
Gets the last segment of this instance.
| |
Parent |
Gets the parent instance.
| |
Parents |
Gets a list of all its parents.
| |
Segments |
Gets the list of segments composing this instance.
| |
StringComparer |
The comparer used when comparing segments.
| |
ThisAndParents |
Gets this and a list of all its parents.
|
Name | Description | |
---|---|---|
Clone |
Clone this instance.
| |
Combine |
Add segments of another list to this instance.
| |
CompareTo |
Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
| |
Equals(Object) |
Determines whether the specified object is equal to the current object.
(Overrides ObjectEquals(Object).) | |
Equals(PathSegmentList) |
Indicates whether the current object is equal to another object of the same type.
| |
GetHashCode |
Serves as the hash function.
(Overrides ObjectGetHashCode.) | |
StartWith |
Determines if this instances starts with the same segment as the one from another instance.
| |
ToString |
Returns a String that represents this instance.
(Overrides ObjectToString.) |
Name | Description | |
---|---|---|
Equality |
Implements the == operator.
| |
Inequality |
Implements the != operator.
|