Пример #1
0
        public INodeCollection Clone()
        {
            INodeCollection newCol = new INodeCollection();

            newCol.AddRange(this);
            return(newCol);
        }
Пример #2
0
 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;
 }
Пример #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;
 }