示例#1
0
 public static string ToMarkup(this string str, params MarkupAdapter[] markups)
 {
     return(UMarkup.Create(str, markups));
 }
示例#2
0
 public static string ToMarkup(this object obj, params MarkupAdapter[] markups)
 {
     return(UMarkup.Create(obj.ToString(), markups));
 }
示例#3
0
 public static string ToMarkup(this object obj, Color color)
 {
     return(UMarkup.Create(obj.ToString(), UMarkup.Color(color)));
 }
示例#4
0
 public static string ToMarkup(this string str, Color color)
 {
     return(UMarkup.Create(str, UMarkup.Color(color)));
 }