Exemple #1
0
        public INodeCollection Clone()
        {
            INodeCollection newCol = new INodeCollection();

            newCol.AddRange(this);
            return(newCol);
        }
 public BaseContainerNode(INode parent = null, string ContainerName = "Default Container")
 {
     ID              = Guid.NewGuid().ToString();
     NodeName        = ContainerName;
     Parent          = parent;
     Nodes           = new INodeCollection();
     StateImageIndex = ImageConstants.TREE_LIST_BASE_CONTAINER_INDEX;
 }
Exemple #3
0
 public Case(string caseName = "Default Case")
 {
     ID              = Guid.NewGuid().ToString();
     Parent          = null;
     NodeName        = caseName;
     Nodes           = new INodeCollection();
     StateImageIndex = ImageConstants.TREE_LIST_CASE_INDEX;
 }