IShortcodeCollection.

Add(string, Type) Method

Summary

Adds a shortcode by type.
Assembly
Wyam.Common.dll
Namespace
Wyam.Common.Shortcodes
Containing Type
IShortcodeCollection

Syntax

void Add(string name, Type type)

Parameters

Name Type Description
name string The name of the shortcode.
type Type The type of the shortcode to add (must implement Wyam.Common.Shortcodes.IShortcode).

Return Value

Type Description
void
GitHub