Path Class |
Namespace: Apptus.ESales.Connector
public class Path : IComparable<Path>
The Path type exposes the following members.
Name | Description | |
---|---|---|
HasParent | True if this path has a parent.
| |
IsRoot | True if this path is the root path.
| |
Length |
The length of this path.
| |
SimpleName |
The simple name of this path.
|
Name | Description | |
---|---|---|
Ancestor |
Returns the ancestor of the specified length.
| |
Ancestors |
Returns all the ancestors to a path, starting with the closest.
For instance, Path.parse("/an/example/path") will return a list containing the paths: "/an/example", "/an" and "/" in that order. | |
Child |
Construct a child path of this using the specified name.
| |
CompareTo |
Compares the current object with another object of the same type.
| |
Descendant |
Construct a new path by adding the endPath to this path.
| |
Equals |
Determines whether the specified Object is equal to the current Object.
(Overrides ObjectEquals(Object).) | |
Finalize | (Inherited from Object.) | |
GetHashCode |
Serves as a hash function for a particular type.
(Overrides ObjectGetHashCode.) | |
GetType | (Inherited from Object.) | |
HasAncestor | True if this path has the specified ancestor.
| |
MemberwiseClone | (Inherited from Object.) | |
Parent |
Get the parent Path of this path.
| |
Parse |
Create a new Path from the specified string argument path.
| |
ToString |
Returns a String that represents the current Object.
(Overrides ObjectToString.) |