Beispiel #1
0
 public NamespaceTreeViewItem(NamespaceMetadata mynamespace, AllClases a)
 {
     allClases        = a;
     this.mynamespace = mynamespace;
     if (mynamespace.IsExpanded)
     {
         this.IsExpanded = true;
     }
 }
 public bool Equals(NamespaceMetadata obj)
 {
     foreach (TypeMetadata typeMetadata in m_Types)
     {
         bool finded = false;
         foreach (TypeMetadata VARIABLE in obj.m_Types)
         {
             if (typeMetadata.Equals(VARIABLE))
             {
                 finded = true;
             }
         }
         if (!finded)
         {
             return(false);
         }
     }
     return(true);
 }