Indicates the implementation supports a display string (typically used for logging).
- Namespace
- Statiq
.Common - Implementing Types
graph BT
Type["IDisplayable"]
class Type type-node
Implementing0["TestFile"]-.->Type
click Implementing0 "/api/Statiq.Testing/TestFile"
Implementing1["TestDocument"]-.->Type
click Implementing1 "/api/Statiq.Testing/TestDocument"
Implementing2["IFileSystemEntry"]-.->Type
click Implementing2 "/api/Statiq.Common/IFileSystemEntry"
Implementing3["TestDirectory"]-.->Type
click Implementing3 "/api/Statiq.Testing/TestDirectory"
Implementing4["NormalizedPath"]-.->Type
click Implementing4 "/api/Statiq.Common/NormalizedPath"
Implementing5["ObjectDocument<T>"]-.->Type
click Implementing5 "/api/Statiq.Common/ObjectDocument_1"
Implementing6["IDocument"]-.->Type
click Implementing6 "/api/Statiq.Common/IDocument"
Implementing7["IFile"]-.->Type
click Implementing7 "/api/Statiq.Common/IFile"
Implementing8["Document"]-.->Type
click Implementing8 "/api/Statiq.Common/Document"
Implementing9["IDirectory"]-.->Type
click Implementing9 "/api/Statiq.Common/IDirectory"
Implementing10["Document<TDocument>"]-.->Type
click Implementing10 "/api/Statiq.Common/Document_1"
Syntax
public interface IDisplayable
Methods
Name | Return Value | Summary |
---|---|---|
ToDisplayString |
string |
A display string that can be used for tracing.
|
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.
|