コード例 #1
0
 public void DefaultRenderText(RenderElements re, string newValue)
 {
     if (string.IsNullOrEmpty(RenderParts[re]))
     {
         ForceRenderText(re, newValue);
     }
 }
コード例 #2
0
 public void ForceRenderText(RenderElements re, string newValue)
 {
     if (newValue == null)
     {
         newValue = string.Empty;
     }
     RenderParts[re] = newValue;
 }
コード例 #3
0
 public string GetRenderText(RenderElements re)
 {
     return(RenderParts[re]);
 }