ShortcodeExtensions.

ToValueArray(IEnumerable<KeyValuePair<string, string>>) Method

Summary

Returns arguments as an array. This will collapse keys and values into a single argument value so that "=" doesn't have to be escaped with quotes.
Assembly
Wyam.Common.dll
Namespace
Wyam.Common.Shortcodes
Containing Type
ShortcodeExtensions

Syntax

public static string[] ToValueArray(this IEnumerable<KeyValuePair<string, string>> args)

Parameters

Name Type Description
args IEnumerable<KeyValuePair<string, string>> The original shortcode arguments.

Return Value

Type Description
string[] The argument values.
GitHub