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); }
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); }