コード例 #1
0
 public String Format(String template, String table = null, int version = 4)
 {
     _tableState   = table;
     _versionState = version;
     try
     {
         return(HaackFormatter.HaackFormat(template, _formatDb));
     }
     catch (FormatException ex)
     {
         throw new FormatException(ex.Message + " Template: \"" + template + "\".", ex);
     }
 }
コード例 #2
0
 private static string Format(string format, object o)
 {
     return(HaackFormatter.HaackFormat(format, o));
 }