private MultiKeyDictionary2(MultiKeyDictionary2 <K, V> parent) { _tree = parent._tree; Initialize(); }
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 }); } }
public MultiKeyDictionary2(IEqualityComparer <K> keyComparer) { _tree = new TreeHeader(this, keyComparer); Initialize(); }
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); }