Exemplo n.º 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);
        }
Exemplo n.º 2
0
 public void SetUserFunction(String key, CrispUserFunction cuf)
 {
     _userFunctions[key] = cuf;
 }