Пример #1
0
        /// <summary>
        /// Builds this instance into a Nova Tree Module.
        /// </summary>
        /// <param name="tree">The tree.</param>
        /// <param name="page">The page.</param>
        /// <returns></returns>
        internal NovaTreeModule Build(INovaTree tree, INavigatablePage page)
        {
            var nodes  = BuildNovaTreeNodes(page);
            var module = new NovaTreeModule(Title, tree, nodes);

            return(module);
        }
Пример #2
0
 /// <summary>
 /// Activates the module.
 /// </summary>
 /// <param name="module">The module.</param>
 void INovaTree.ActivateModule(NovaTreeModule module)
 {
     TreeNodes = module.TreeNodes;
 }
Пример #3
0
        /// <summary>
        /// Builds this instance into a Nova Tree Module.
        /// </summary>
        /// <param name="tree">The tree.</param>
        /// <param name="page">The page.</param>
        /// <returns></returns>
        internal NovaTreeModule Build(INovaTree tree, INavigatablePage page)
        {
            var nodes = BuildNovaTreeNodes(page);
            var module = new NovaTreeModule(Title, tree, nodes);

            return module;
        }