Пример #1
0
 private MultiKeyDictionary2(MultiKeyDictionary2 <K, V> parent)
 {
     _tree = parent._tree;
     Initialize();
 }
Пример #2
0
 private void AddTreeHeader(EditorStyle? editorStyle, ElementType? type, string key, string title, string parent, bool simple)
 {
     if (editorStyle.HasValue && m_editorStyle != editorStyle) return;
     if (simple || !SimpleMode)
     {
         m_treeTitles.Add(key, title);
         TreeHeader header = new TreeHeader {Key = key, Title = title};
         if (type != null)
         {
             m_elementTreeStructure.Add(type.Value, header);
         }
         AddedNode(this, new AddedNodeEventArgs { Key = key, Text = title, Parent = parent, IsLibraryNode = false, Position = null });
     }
 }
Пример #3
0
 public MultiKeyDictionary2(IEqualityComparer <K> keyComparer)
 {
     _tree = new TreeHeader(this, keyComparer);
     Initialize();
 }
Пример #4
0
 private void AddTreeHeader(ElementType? type, string key, string title, string parent)
 {
     m_treeTitles.Add(key, title);
     TreeHeader header = new TreeHeader();
     header.Key = key;
     header.Title = title;
     if (type != null)
     {
         m_elementTreeStructure.Add(type.Value, header);
     }
     AddedNode(key, title, parent, null, null);
 }