Sisk

Method

IExampleBodyTypeHandler.GetBodyExampleForType

Namespace
Sisk.Documenting.Content
Assembly
Sisk.Documenting.dll

GetBodyExampleForType(Type) #

Gets an example body for the specified type.

C#
BodyExampleResult? GetBodyExampleForType(Type type)

Parameters #

type Type

The type for which to generate an example body. Cannot be null.

Returns #

BodyExampleResult?

A BodyExampleResult containing the example contents and language, or null if no example can be generated for the specified type.

Type to search the documentation and the API reference.