예제 #1
0
        void AddExtensionPath(ExtensionPath path)
        {
            AddInTreeNode treePath = CreatePath(rootNode, path.Name);

            foreach (IEnumerable <Codon> innerCodons in path.GroupedCodons)
            {
                treePath.AddCodons(innerCodons);
            }
        }
예제 #2
0
        void AddExtensionPath(ExtensionPath path)
        {
            AddInTreeNode treePath = null;

            if (path.ParentPathProperties != null)
            {
                treePath = CreatePath(rootNode, path.Name, path.ParentPathProperties);
            }
            else
            {
                treePath = CreatePath(rootNode, path.Name);
            }

            foreach (IEnumerable <Codon> innerCodons in path.GroupedCodons)
            {
                treePath.AddCodons(innerCodons);
            }
        }