IShortcodeCollection.

Add<TShortcode>() Method

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<TShortcode>() where TShortcode : IShortcode

Type Parameters

Name Description
TShortcode The type of the shortcode to add.

Return Value

Type Description
void
GitHub