ToSafeDisplayString(IDisplayable) Method
A safe display string that can be used for logging and returns "null" when the underlying object is null.
Namespace
Statiq.Common
Containing Type
IDisplayableExtensions

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.