Esempio n. 1
0
        protected bool EvaluateTruthy(string template, IDictionary <string, string> variables)
        {
            var dictionary = new VariableDictionary();

            foreach (var pair in variables)
            {
                dictionary[pair.Key] = pair.Value;
            }
            return(dictionary.EvaluateTruthy(template));
        }