A safe display string that can be used for logging and returns "null" when the
underlying object is null.
- Namespace
- Statiq
.Common - Containing Type
- I
Displayable Extensions
Syntax
public static string ToSafeDisplayString(this IDisplayable displayable)
Parameters
Name | Type | Description |
---|---|---|
displayable | IDisplayable | The IDisplayable object. |
Return Value
Type | Description |
---|---|
string | A display string. |