Exemplo n.º 1
0
 public ScopeNode ChildAtIndex(int n)
 {
     if (this.Children != null && n < NumberOfChildren())
     {
         ScopeNode item = this.Children [n];
         return(item);
     }
     else
     {
         return(null);
     }
 }
 public void ClearNodes ()
 {
     RootNode.Children.Clear ();
     RootNode.Children = null;
     RootNode = null;
 }
 public OutlineViewDataSource (ChildScopeNode node) : base ()
 {
     RootNode = node;
     RootNode.DisplayName = "Certificate Authority";
 }
Exemplo n.º 4
0
 void AddViewDescription(ScopeNode node, ViewDescription lvd)
 {
     node.ViewDescriptions.Add(lvd);
     node.ViewDescriptions.DefaultIndex = 0;
     this.Children.Add(node);
 }