Example #1
0
        public DocClass GetClasse(string idCls)
        {
            DocClass cls = null;

            foreach (DocNameSpace ns in m_ns)
            {
                cls = ns.GetClasse(idCls);
                if (cls != null)
                {
                    return(cls);
                }
            }
            return(cls);
        }
Example #2
0
        public DocClass GetClasse(string idCls)
        {
            DocClass cls = null;

            foreach (DocClass c in m_classes)
            {
                if (c.ID == idCls)
                {
                    return(c);
                }
            }

            foreach (DocNameSpace ns in m_nss)
            {
                cls = GetClasse(idCls);
                if (cls != null)
                {
                    return(cls);
                }
            }

            return(cls);
        }