StringExtensions Class

Summary

Extensions for string.
graph BT Type-->Base0["Object"] Type["StringExtensions"] class Type type-node

Syntax

public static class StringExtensions

Methods

Name Value Summary
SanitizeHtmlIdAttribute(string) string
Sanitizes a string to be a valid HTML ID.
static

Extension Methods

Name Value Summary
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin
ToStringWithNullMarkup() string
Returns the string value or a Not set> markup suitable for Spectre.Console.
Requires the Cake.Issues addin