# BodyExampleResult

Kind: Class  
Namespace: `Sisk.Documenting.Content`  
Assembly: `Sisk.Documenting.dll`  
Source: https://docs.sisk-framework.org/api/Sisk.Documenting.Content.BodyExampleResult.html

Represents the result of generating a body example, containing the example contents and an optional language.

```csharp
public sealed class BodyExampleResult
```

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ← 
[BodyExampleResult](https://docs.sisk-framework.org/api/Sisk.Documenting.Content.BodyExampleResult.md)

#### Inherited Members

[object.GetType\(\)](https://learn.microsoft.com/dotnet/api/system.object.gettype), 
[object.ToString\(\)](https://learn.microsoft.com/dotnet/api/system.object.tostring), 
[object.Equals\(object?\)](https://learn.microsoft.com/dotnet/api/system.object.equals\#system\-object\-equals\(system\-object\)), 
[object.Equals\(object?, object?\)](https://learn.microsoft.com/dotnet/api/system.object.equals\#system\-object\-equals\(system\-object\-system\-object\)), 
[object.ReferenceEquals\(object?, object?\)](https://learn.microsoft.com/dotnet/api/system.object.referenceequals), 
[object.GetHashCode\(\)](https://learn.microsoft.com/dotnet/api/system.object.gethashcode)

## Constructors

| Name | Description |
| --- | --- |
| [BodyExampleResult\(string, string?\)](https://docs.sisk-framework.org/api/Sisk.Documenting.Content.BodyExampleResult.-ctor.md#Sisk_Documenting_Content_BodyExampleResult__ctor_System_String_System_String_) | Initializes a new instance of the [BodyExampleResult](https://docs.sisk-framework.org/api/Sisk.Documenting.Content.BodyExampleResult.md) class. |

## Properties

| Name | Description |
| --- | --- |
| [ExampleContents](https://docs.sisk-framework.org/api/Sisk.Documenting.Content.BodyExampleResult.ExampleContents.md#Sisk_Documenting_Content_BodyExampleResult_ExampleContents) | Gets the example contents. |
| [ExampleLanguage](https://docs.sisk-framework.org/api/Sisk.Documenting.Content.BodyExampleResult.ExampleLanguage.md#Sisk_Documenting_Content_BodyExampleResult_ExampleLanguage) | Gets the language of the example, if specified; otherwise [`null`](https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/null). |
