- Namespace
- Statiq
.Testing - Interfaces
- Base Types
-
- object
graph BT
Type-->Base0["object"]
Type-.->Interface0["IDirectory"]
click Interface0 "/api/Statiq.Common/IDirectory"
Type-.->Interface1["IFileSystemEntry"]
click Interface1 "/api/Statiq.Common/IFileSystemEntry"
Type-.->Interface2["IDisplayable"]
click Interface2 "/api/Statiq.Common/IDisplayable"
Type["TestDirectory"]
class Type type-node
Syntax
public class TestDirectory : IDirectory, IFileSystemEntry, IDisplayable
Constructors
Properties
| Name | Property Type | Summary |
|---|---|---|
| CreationTime | DateTime | |
| Exists | bool | |
| LastWriteTime | DateTime | |
| Parent | IDirectory | |
| Path | NormalizedPath |
Methods
| Name | Return Value | Summary |
|---|---|---|
| Create |
void | |
| Delete |
void | |
| GetDirectories |
IEnumerable |
|
| GetDirectory |
IDirectory | |
| GetFile |
IFile | |
| GetFiles |
IEnumerable |
|
| MoveTo |
void | |
| MoveTo |
void | |
| ToDisplayString |
string | |
| ToString |
string |
Extension Methods
| Name | Value | Summary |
|---|---|---|
| ThrowIfNull |
T |
From GuardExtensions
|
| ToDocument |
IDocument | |
| ToDocument |
IDocument | |
| ToDocument |
IDocument | |
| ToDocument |
IDocument | |
| ToDocument |
IDocument | |
| ToDocument |
IDocument | |
| ToSafeDisplayString |
string |
A safe display string that can be used for logging and returns "null" when the
underlying object is null.
|