Method ToFencedResult
- Namespace
- Docfx.ResultSnippets
- Assembly
- Docfx.ResultSnippets.dll
ToFencedResult<T>(T, string?)
Fences the result, with an optional language applied
public static string ToFencedResult<T>(this T result, string? language = null)
Parameters
result
Tresult to fence
language
stringoptional language to designate the fenced result as
Returns
- string
fenced result of calling ToString on T
Type Parameters
T
some result T