private void addHighlightingElementRender(HighlightingElement element, HighlightingElementRender setting, bool @override) { if (@override) { highlightingElementMap[element] = setting; } else if (!highlightingElementMap.ContainsKey(element)) { highlightingElementMap[element] = setting; } }
public virtual void addHighlightingElementRender(HighlightingElement element, HighlightingElementRender setting) { addHighlightingElementRender(element, setting, true); }