Exemple #1
0
        public bool TryGetUserFunction(String key, out CrispUserFunction cuf)
        {
            bool found = _userFunctions.TryGetValue(key, out cuf);

            if (!found)
            {
                if (_parent != null)
                {
                    return(_parent.TryGetUserFunction(key, out cuf));
                }
            }
            return(found);
        }
Exemple #2
0
 public void SetUserFunction(String key, CrispUserFunction cuf)
 {
     _userFunctions[key] = cuf;
 }