Interface IPath<TPath>
- Namespace
- TruePath
- Assembly
- TruePath.dll
Represents a path in a file system. Allows generic operators to be applied.
public interface IPath<TPath> where TPath : IPath<TPath>
Type Parameters
TPathThe type of this path.
Methods
IsPrefixOf(TPath)
bool IsPrefixOf(TPath other)
Parameters
otherTPath
Returns
Remarks
Checks for a non-strict prefix: if the paths are equal, then they are still considered prefixes of each other.
StartsWith(TPath)
Determines whether the current path starts with the specified path.
bool StartsWith(TPath other)
Parameters
otherTPathThe path to compare to the current path.
Returns
Remarks
Note that currently this comparison is case-sensitive.