TestShortcodeCollection.

Add(Type) Method

Summary

Adds a shortcode by type, infering the name from the type name.

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
GitHub