Summary
Adds a shortcode by type.
- Assembly
- Wyam
.Testing .dll - Namespace
- Wyam
.Testing .Shortcodes - Containing Type
- Test
Shortcode Collection
Syntax
public void Add<TShortcode>(string name) where TShortcode : IShortcode
Type Parameters
| Name | Description |
|---|---|
| TShortcode | The type of the shortcode to add. |
Parameters
| Name | Type | Description |
|---|---|---|
| name | string | The name of the shortcode. |
Return Value
| Type | Description |
|---|---|
| void |
