/// <summary> /// Sets the key that will be used to look up the value for the inner HTML of the node. /// </summary> /// <param name="htmlKey">key to use for lookup</param> /// <param name="defaultValue">Default value to create if no value is found for the key</param> /// <returns>returns itself</returns> public LocalizedHtmlString HtmlKey(String htmlKey, string defaultValue = null) { LocalizedHtmlKey = new KeyWithDefault(htmlKey, defaultValue); return(this); }
/// <summary> /// Sets the key that will be used to look up the value for the inner HTML of the node. /// </summary> /// <param name="htmlKey">key to use for lookup</param> /// <param name="defaultValue">Default value to create if no value is found for the key</param> /// <returns>returns itself</returns> public LocalizedHtmlString HtmlKey(String htmlKey, string defaultValue = null) { LocalizedHtmlKey = new KeyWithDefault(htmlKey, defaultValue); return this; }