示例#1
0
 public static string ToTitle(this string s)
 {
     return(Titling.Convert(s));
 }
示例#2
0
 public static string ToTitle(this string s, CultureInfo culture)
 {
     return(Titling.Convert(s, culture));
 }
示例#3
0
 public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
 {
     return(value == null ? null : Titling.Convert(value.ToString()));
 }