Пример #1
0
 public void appendList(List <IAutoCompleteItem> lst, string partialName)
 {
     foreach (Type t in m_types.Values)
     {
         if (t.OuterClass != null)
         {
             continue;
         }
         if (t.NoAC)
         {
             continue;
         }
         if (t.DisplayName.StartsWith(partialName, true, null))
         {
             if (!lst.Contains(t))
             {
                 lst.Add(t);
             }
         }
     }
     if (m_parent != null)
     {
         m_parent.appendList(lst, partialName);
     }
     //lst.Sort();
 }