Class AllLists
- Namespace
- SunamoValues.Values
- Assembly
- SunamoValues.dll
Shared lists of commonly used values (HTML entities, brackets, etc.).
public class AllLists
- Inheritance
-
AllLists
- Inherited Members
- Extension Methods
Fields
AllCssKeys
All CSS property names. Generated from https://www.w3.org/Style/CSS/all-properties.en.html at 7-6-2018.
public static List<string> AllCssKeys
Field Value
BasicImageExtensions
Common image file extensions.
public static readonly List<string> BasicImageExtensions
Field Value
CssTemplatesSites
CSS template provider sites.
public static readonly List<string> CssTemplatesSites
Field Value
FeatLower
Lowercase "featuring" abbreviations.
public static List<string> FeatLower
Field Value
FeatUpper
Uppercase "featuring" abbreviations.
public static List<string> FeatUpper
Field Value
GenericDomains
Generic top-level domains. See https://en.wikipedia.org/wiki/Generic_top-level_domain.
public static List<string> GenericDomains
Field Value
HtmlEntities
HTML entity names. Parsed with WikipediaHelper.HtmlEntitiesList.
public static List<string>? HtmlEntities
Field Value
HtmlEntitiesDict
In key is long name, in value letter.
public static Dictionary<string, string>? HtmlEntitiesDict
Field Value
HtmlEntitiesFullNames
When entity has more names, there is just one. In key is letter, in value long name.
public static Dictionary<string, string>? HtmlEntitiesFullNames
Field Value
HtmlNonPairTags
HTML non-pair (self-closing) tags.
public static List<string> HtmlNonPairTags
Field Value
LeftBrackets
Left bracket characters.
public static List<char> LeftBrackets
Field Value
LeftBracketsS
Left bracket strings.
public static List<string> LeftBracketsS
Field Value
NumberPoints
Number decimal separator characters.
public static readonly List<string> NumberPoints
Field Value
OstravaCityParts
Ostrava city part names.
public static List<string>? OstravaCityParts
Field Value
PairingTagsDontWrapToParagraph
Pairing tags that should not be wrapped in a paragraph.
public static List<string> PairingTagsDontWrapToParagraph
Field Value
RightBrackets
Right bracket characters.
public static List<char> RightBrackets
Field Value
RightBracketsS
Right bracket strings.
public static List<string> RightBracketsS
Field Value
Methods
HtmlEncode(string)
HTML-encodes a string by replacing characters with their HTML entity names. Requires InitHtmlEntitiesFullNames to be called before use.
public static string HtmlEncode(string text)
Parameters
textstringThe text to encode.
Returns
- string
The HTML-encoded string.
InitHtmlEntitiesDict()
Initializes the HTML entities dictionary mapping entity names to characters.
public static void InitHtmlEntitiesDict()
InitHtmlEntitiesFullNames()
Initializes the HTML entities full names dictionary (reverse mapping from characters to entity names).
public static void InitHtmlEntitiesFullNames()