ExampleModelRecord
PackageFsLiveDocs.Core
Represents an executable code example extracted from documentation.
Fields
| Name | Type | Description |
|---|---|---|
| Create | ExampleModel.Create(name, content, expectedOutput, scenario, ?isSnapshotTest, ?noCheckReason) | Create an example record from its individual fields. |
| Name | Name | The unique name of the example, used for transclusion. |
| Content | Content | The raw F# code content. |
| ExpectedOutput | ExpectedOutput | Optional expected output to verify against during testing. |
| Scenario | Scenario | Optional scenario name to provide mocks/DI for this example. |
| IsSnapshotTest | IsSnapshotTest | Whether this example should be picked up by the generated snapshot test project. |
| NoCheckReason | NoCheckReason | Why this example is deliberately excluded from verification, if it is. |