Ejemplo n.º 1
0
        public INodeCollection Clone()
        {
            INodeCollection newCol = new INodeCollection();

            newCol.AddRange(this);
            return(newCol);
        }
Ejemplo n.º 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;
 }
Ejemplo n.º 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;
 }