Esempio n. 1
0
 public static MvcHtmlString ToHtmlString( BoolConstant expression, bool link = true)
 {
     return MvcHtmlString.Create (string.Format("{0}", expression.Value ? "<strong>true</strong>" : "<strong>false</strong>"));
 }
 private static string ToHtmlString(BoolConstant expression)
 {
     return string.Format("{0}", expression.Value ? "<strong>true</strong>" : "<strong>false</strong>");
 }