Ejemplo n.º 1
0
        public bool Contains(Cell cell)
        {
            bool b = false;

            for (int i = 0; i < _schemaitems.Count; i++)
            {
                GroupSchemaItem gsi = _schemaitems[i];
                b = gsi.Contains(cell.Name) || (cell is IMapName && gsi.Contains((cell as IMapName).MapName));
                if (b)
                {
                    return(b);
                }
            }
            return(b);
        }
Ejemplo n.º 2
0
        public bool Contains(string name)
        {
            bool b = false;

            for (int i = 0; i < _schemaitems.Count; i++)
            {
                GroupSchemaItem gsi = _schemaitems[i];
                b = gsi.Contains(name);
                if (b)
                {
                    return(b);
                }
            }
            return(b);
        }