Skip to main content
Namespace: Phoenix.ComponentPlugInSDK.Models
Assembly: Phoenix.ComponentPlugInSDK.dll

GetHighlightNames(IEnumerable<string>)

Gets a list of names to highlight from an enumerable of variables. Note: the highlighter uses Regex matching. Each item is matched as a regex word and special characters need to be escaped. To highlight “obj.value”, include “obj.value” in the returned list.

Parameters

variables IEnumerable<string> The variables that should be highlighted.

Returns

IEnumerable<string> An enumerable of strings that should be highlighted