public List <NavigationItemViewModel> Traverse(NavigationDirectoryItemViewModel it)
        {
            var items = new List <NavigationItemViewModel>();

            foreach (var itm in it.Items)
            {
                Traverse(itm);
                items.Add(itm);
            }

            return(items);
        }
 public void AddDirItem(NavigationDirectoryItemViewModel directoryItem)
 {
     Items.Add(directoryItem);
 }