Interface IFilePath
Represents an absolute or relative path to a file.
Inherited Members
Namespace: Singulink.IO
Assembly: Singulink.IO.FileSystem.dll
Syntax
public interface IFilePath : IPath, IEquatable<IPath?>
Properties
Name | Description |
---|---|
Extension | Gets the file extension including the leading dot, otherwise an empty string. |
NameWithoutExtension | Gets the file name without the extension. |
Methods
Name | Description |
---|---|
WithExtension(string?, PathOptions) | Adds a new extension or changes the existing extension of the file. |
Explicit Interface Implementations
Name | Description |
---|---|
IPath.HasParentDirectory | Gets a value indicating whether this path has a parent directory. |