AddShortcode<TBootstrapper>(TBootstrapper, string, Func<KeyValuePair<string, string>[], string, IDocument, IExecutionContext, ShortcodeResult>) Method

Syntax

public static TBootstrapper AddShortcode<TBootstrapper>(this TBootstrapper bootstrapper, string name, Func<KeyValuePair<string, string>[], string, IDocument, IExecutionContext, ShortcodeResult> shortcode) 
    where TBootstrapper : IBootstrapper

Type Parameters

Name Description
TBootstrapper

Parameters

Name Type Description
bootstrapper TBootstrapper
name string
shortcode Func<KeyValuePair<string, string>[], string, IDocument, IExecutionContext, ShortcodeResult>

Return Value

Type Description
TBootstrapper