Example #1
0
        public Object QueryCopy(string path, out string foundPath)
        {
            Object a = CSOCore.QueryRef(_map, path, out foundPath, path_sep);

            if (a is Container c)
            {
                return(new CSO(c, path_sep));
            }
            else
            {
                return(a.DeepClone());
            }
        }
Example #2
0
        public Object Query(string path, out string found_path)
        {
            Object a = CSOCore.QueryRef(_map, path, out found_path, path_sep);

            if (a is Container c)
            {
                return(new CSOPtr(c, path_sep));
            }
            else
            {
                return(a);
            }
        }