Click or drag to resize
IHtmlLocaliser Interface
The interface for objects that can localise HTML using string resources.

Namespace: VirtualRadar.Interface.WebSite
Assembly: VirtualRadar.Interface (in VirtualRadar.Interface.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public interface IHtmlLocaliser

The IHtmlLocaliser type exposes the following members.

Properties
  NameDescription
Public propertyLocalisedStringsMap
Gets the localised strings that the localiser is using.
Top
Methods
  NameDescription
Public methodAddResourceStrings
Adds resource strings to the localised strings map.
Public methodConvertResourceStringToHtmlString
Escapes HTML in the string, converts linebreaks to break tags and so on.
Public methodConvertResourceStringToJavaScriptString
Escapes quotes in the string, converts linebreaks to \r or \n etc.
Public methodHtml
Replaces all instances of ::STRING:: with the localised text.
Public methodInitialise
Initialises the localiser with the Virtual Radar Server application strings.
Public methodInitialise(Type)
Initialises the localiser with the strings from the compiled resource object passed across.
Top
See Also