public String Apply(NamedValueGetter valueGetter) { if (String.IsNullOrEmpty(format) || paramNames == null) { return(format); } return(String.Format(format, paramNames.Select(a => valueGetter(a)).ToArray())); }
public String Apply(NamedValueGetter valueGetter) { if (String.IsNullOrEmpty(format) || paramNames == null) return format; return String.Format(format, paramNames.Select(a => valueGetter(a)).ToArray()); }
public static String Apply(String formatWithNames, NamedValueGetter valueGetter) { var tpl = new StringTemplate(formatWithNames); return tpl.Apply(valueGetter); }
public static String Apply(String formatWithNames, NamedValueGetter valueGetter) { var tpl = new StringTemplate(formatWithNames); return(tpl.Apply(valueGetter)); }