Represents an entry in the file system.
- Namespace
- Statiq
.Common - Interfaces
- Implementing Types
graph BT
Type-.->Interface0["IDisplayable"]
click Interface0 "/api/Statiq.Common/IDisplayable"
Type["IFileSystemEntry"]
class Type type-node
Implementing0["TestFile"]-.->Type
click Implementing0 "/api/Statiq.Testing/TestFile"
Implementing1["TestDirectory"]-.->Type
click Implementing1 "/api/Statiq.Testing/TestDirectory"
Implementing2["IFile"]-.->Type
click Implementing2 "/api/Statiq.Common/IFile"
Implementing3["IDirectory"]-.->Type
click Implementing3 "/api/Statiq.Common/IDirectory"
Syntax
public interface IFileSystemEntry : IDisplayable
Properties
Name | Property Type | Summary |
---|---|---|
CreationTime | DateTime |
Gets the time when the current entry was created.
|
Exists | bool |
Gets a value indicating whether this
IFileSystemEntry exists.
|
LastWriteTime | DateTime |
Gets the time when the current entry was last written to.
|
Path | NormalizedPath |
Gets the path to the entry.
|
Methods
Name | Return Value | Summary |
---|---|---|
ToString |
string |
Returns a
string that represents this file system entry.
|