public void DefaultRenderText(RenderElements re, string newValue) { if (string.IsNullOrEmpty(RenderParts[re])) { ForceRenderText(re, newValue); } }
public void ForceRenderText(RenderElements re, string newValue) { if (newValue == null) { newValue = string.Empty; } RenderParts[re] = newValue; }
public string GetRenderText(RenderElements re) { return(RenderParts[re]); }