コード例 #1
0
ファイル: StringFormatHelper.cs プロジェクト: codaxy/common
 public static String Apply(String formatWithNames, IDictionary<String, object> data)
 {
     var tpl = new StringTemplate(formatWithNames);
     return tpl.Apply(data);
 }
コード例 #2
0
        public static String Apply(String formatWithNames, IDictionary <String, object> data)
        {
            var tpl = new StringTemplate(formatWithNames);

            return(tpl.Apply(data));
        }
コード例 #3
0
ファイル: StringFormatHelper.cs プロジェクト: codaxy/common
 public static String Apply(String formatWithNames, NamedValueGetter valueGetter)
 {
     var tpl = new StringTemplate(formatWithNames);
     return tpl.Apply(valueGetter);
 }
コード例 #4
0
        public static String Apply(String formatWithNames, NamedValueGetter valueGetter)
        {
            var tpl = new StringTemplate(formatWithNames);

            return(tpl.Apply(valueGetter));
        }