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