Table of Contents

Class ReplacerXlf

Namespace
SunamoDevCode
Assembly
SunamoDevCode.dll

Dictionary as cache is good in database but not in ordinal c# app!

public class ReplacerXlf
Inheritance
ReplacerXlf
Inherited Members
Extension Methods

Properties

Instance

Gets the singleton instance of ReplacerXlf, creating it if necessary.

public static ReplacerXlf Instance { get; }

Property Value

ReplacerXlf

WithWithoutUnderscore

Dictionary mapping original XLF keys to their versions with underscores removed.

public Dictionary<string, string> WithWithoutUnderscore { get; set; }

Property Value

Dictionary<string, string>

Methods

WithoutUnderscore(string)

Removes HTML entity underscore suffixes from the given text.

public string WithoutUnderscore(string text)

Parameters

text string

Text to clean up.

Returns

string

Text with underscore-prefixed HTML entity names removed.