Exemple #1
0
 public void Add(SymPathElement elem)
 {
     if (elem != null && !m_elements.Contains(elem))
     {
         m_elements.Add(elem);
     }
 }
Exemple #2
0
 public void Insert(SymPathElement elem)
 {
     if (elem != null)
     {
         var existing = m_elements.IndexOf(elem);
         if (existing >= 0)
         {
             m_elements.RemoveAt(existing);
         }
         m_elements.Insert(0, elem);
     }
 }
Exemple #3
0
 public void Insert(SymPathElement elem)
 {
     if (elem != null)
     {
         var existing = m_elements.IndexOf(elem);
         if (existing >= 0)
             m_elements.RemoveAt(existing);
         m_elements.Insert(0, elem);
     }
 }
Exemple #4
0
 public void Add(SymPathElement elem)
 {
     if (elem != null && !m_elements.Contains(elem))
         m_elements.Add(elem);
 }