silently be more generically usable
This commit is contained in:
parent
3d961c6691
commit
2c9d62ac37
@ -11,7 +11,7 @@ namespace MBS.Framework
|
||||
if (value.Length == 1) return value.ToUpper();
|
||||
return value[0].ToString().ToUpper() + value.Substring(1);
|
||||
}
|
||||
public static string ReplaceVariables(this string value, Dictionary<string, object> dict)
|
||||
public static string ReplaceVariables(this string value, IEnumerable<KeyValuePair<string, object>> dict)
|
||||
{
|
||||
string retval = value;
|
||||
foreach (KeyValuePair<string, object> kvp in dict)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user