Summary
Adds a shortcode by type.
- Assembly
- Wyam
.Common .dll - Namespace
- Wyam
.Common .Shortcodes - Containing Type
- IShortcodeCollection
Syntax
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 |