Shortcodes for specific oEmbed services should override this method and call one of the other execute helper methods.
- Namespace
- Statiq
.Web .Shortcodes - Containing Type
- TwitterShortcode
- Overridden
- ExecuteAsync
(KeyValuePair <string, string> [], IDocument, IExecutionContext)
Syntax
public override Task<ShortcodeResult> ExecuteAsync(KeyValuePair<string, string>[] args, IDocument document, IExecutionContext context)
Parameters
| Name | Type | Description |
|---|---|---|
| args | KeyValuePair |
|
| document | IDocument | |
| context | IExecutionContext |
Return Value
| Type | Description |
|---|---|
| Task |