TestShortcodeCollection.

Add(string, Func<KeyValuePair<string, string>[], string, string>) Method

Summary

Adds a shortcode that determines the result content using the declared arguments and content.

Syntax

public void Add(string name, Func<KeyValuePair<string, string>[], string, string> func)

Parameters

Name Type Description
name string The name of the shortcode.
func Func<KeyValuePair<string, string>[], string, string> A function that has the declared arguments and content as inputs and the result content as an output.

Return Value

Type Description
void
GitHub