Example #1
0
 public void EnsureChildren()
 {
     if (_children == null)
     {
         IEnumerable <CompletionResult> members  = GetChildren();
         List <LibraryNode>             children = new List <LibraryNode>();
         foreach (var member in members.MaybeEnumerate())
         {
             var memberChildren = new MemberChildren(_hierarchy, GetName(member.Name));
             var node           = new PythonLibraryNode(
                 _parent,
                 member,
                 _hierarchy.ProjectMgr,
                 _hierarchy.ID,
                 memberChildren
                 );
             memberChildren._parent = node;
             children.Add(node);
         }
         _children = children.ToArray();
     }
 }
Example #2
0
 protected PythonLibraryNode(PythonLibraryNode node, string newFullName) : base(node, newFullName)
 {
     _value = node._value;
 }
Example #3
0
 protected PythonLibraryNode(PythonLibraryNode node) : base(node)
 {
     _value = node._value;
 }
 protected PythonLibraryNode(PythonLibraryNode node) : base(node)
 {
 }
Example #5
0
 protected PythonLibraryNode(PythonLibraryNode node, string newFullName) : base(node, newFullName) { }
Example #6
0
 protected PythonLibraryNode(PythonLibraryNode node) : base(node) { }
Example #7
0
 protected PythonLibraryNode(PythonLibraryNode node) : base(node) {
     _value = node._value;
 }