Пример #1
0
        public override ArrayList FindByTag(string tag, FindCompare f)
        {
            ArrayList nms = new ArrayList();

            foreach (string nm in data.Keys)
            {
                Hashtable h = data[nm] as Hashtable;
                if (h == null)
                {
                    continue;
                }
                if (!h.Contains(tag))
                {
                    if (f == null)
                    {
                        nms.Add(nm);
                    }
                    continue;
                }
                if (f(h[tag]))
                {
                    nms.Add(nm);
                }
            }
            return(nms);
        }
Пример #2
0
 public override ArrayList FindByTag(string tag, FindCompare f)
 {
     return(null);
 }
Пример #3
0
 public abstract ArrayList FindByTag(string tag, FindCompare f);