public static Dictionary<string, string> GetTemplateParameterValues(string templateCall)
{
Dictionary<string, string> paramsFound = new Dictionary<string, string>();
string pipecleanedtemplate = PipeCleanedTemplate(templateCall);
foreach(Match m in param.Matches(pipecleanedtemplate))
{
if (!paramsFound.ContainsKey(m.Groups[1].Value))
paramsFound.Add(m.Groups[1].Value, templateCall.Substring(m.Groups[2].Index, m.Groups[2].Length).Trim());
}
return paramsFound;
}