LocalizationHelperReplaceCustomUILocalizationStrings Method

Replaces the custom UI localization strings. The expected format is that it's surrounded by $%$. For example: Hello $%$GS_Localized_String$%$.

Namespace: Dundas.BI.Utility
Assembly: Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (26.2.0.1000)
Syntax
public static string ReplaceCustomUILocalizationStrings(
	string content,
	Guid moduleId
)

Parameters

content  String
The content to replace the localization strings within.
moduleId  Guid
The ID of the module for localization string loading.

Return Value

String
The replaced contents.
Exceptions
ExceptionCondition
ArgumentExceptionThrown when regex input, or ILocalizationService.GetString argument is or empty.
ArgumentNullExceptionThrown when regex input is or empty.
RegexMatchTimeoutExceptionThrown when regex takes too long to process.
See Also