Summary
Adds a shortcode by type, infering the name from the type name.
- Assembly
- Wyam
.Testing .dll - Namespace
- Wyam
.Testing .Shortcodes - Containing Type
- Test
Shortcode Collection
Syntax
public void Add(Type type)
Parameters
| Name | Type | Description |
|---|---|---|
| type | Type | The type of the shortcode to add (must implement Wyam.Common.Shortcodes.IShortcode). |
Return Value
| Type | Description |
|---|---|
| void |
