コード例 #1
0
        private static HtmlElement CreateExceptionSpan(ObjectVisitorException exception)
        {
            HtmlElement span = new HtmlElement("span");

            span.AppendChild(HelpersResources.ObjectInfo_PropertyThrewException);
            span.AppendChild(HtmlElement.CreateSpan(exception.InnerException.Message, "exception"));
            return(span);
        }
コード例 #2
0
 private static HtmlElement CreateTypeSpan(string value)
 {
     return(HtmlElement.CreateSpan(value, "type"));
 }
コード例 #3
0
 private static HtmlElement CreateQuotedSpan(string value)
 {
     return(HtmlElement.CreateSpan(value, "quote"));
 }
コード例 #4
0
 private static HtmlElement CreateOperatorSpan(string @operator)
 {
     return(HtmlElement.CreateSpan(@operator, "operator"));
 }
コード例 #5
0
 private static HtmlElement CreateNameSpan(string name)
 {
     return(HtmlElement.CreateSpan(name, "name"));
 }