IShortcodeCollectionExtensions Class
Namespace
Statiq.Common
Base Types
  • object
graph BT Type-->Base0["object"] Type["IShortcodeCollectionExtensions"] class Type type-node

Syntax

public static class IShortcodeCollectionExtensions

Methods

Name Return Value Summary
Add(IShortcodeCollection, string, Config<ShortcodeResult>) void
Adds a shortcode and uses a Config<TValue> to determine the shortcode result.
static
Add(IShortcodeCollection, string, Func<KeyValuePair<string, string>[], string, IDocument, IExecutionContext, IEnumerable<ShortcodeResult>>) void
Adds a shortcode that determines the result content using the declared arguments and content and the current document and execution context.
static
Add(IShortcodeCollection, string, Func<KeyValuePair<string, string>[], string, IDocument, IExecutionContext, ShortcodeResult>) void
Adds a shortcode that determines the result content using the declared arguments and content and the current document and execution context.
static
Add(IShortcodeCollection, string, Func<KeyValuePair<string, string>[], string, IDocument, IExecutionContext, Task<IEnumerable<ShortcodeResult>>>) void
Adds a shortcode that determines the result content using the declared arguments and content and the current document and execution context.
static
Add(IShortcodeCollection, string, Func<KeyValuePair<string, string>[], string, IDocument, IExecutionContext, Task<ShortcodeResult>>) void
Adds a shortcode that determines the result content using the declared arguments and content and the current document and execution context.
static
Add(IShortcodeCollection, string, Type) void
Adds a shortcode by type.
static
Add(IShortcodeCollection, Type) void
Adds a shortcode by type, inferring the name from the type name and removing a trailing "Shortcode" from the type name.
static
Add<TShortcode>(IShortcodeCollection, string) void
Adds a shortcode by type.
static
Add<TShortcode>(IShortcodeCollection) void
Adds a shortcode by type, inferring the name from the type name.
static