| 1 |
@* Documentation for a single stack operation: name, what it does, and worked examples. *@ |
| 2 |
|
| 3 |
<details> |
| 4 |
<summary>@Name</summary> |
| 5 |
@if (Description is not null) |
| 6 |
{ |
| 7 |
<p>@Description</p> |
| 8 |
} |
| 9 |
@ChildContent |
| 10 |
</details> |
| 11 |
|
| 12 |
@code { |
| 13 |
[Parameter] |
| 14 |
[EditorRequired] |
| 15 |
public string Name { get; set; } = null!; |
| 16 |
|
| 17 |
[Parameter] |
| 18 |
public string? Description { get; set; } |
| 19 |
|
| 20 |
/// <summary>Worked examples, as <see cref="StackStep"/> elements.</summary> |
| 21 |
[Parameter] |
| 22 |
public RenderFragment? ChildContent { get; set; } |
| 23 |
|
| 24 |
} |