0
我想找到一個優雅的方式來獲得一定的節點umbracos DynamicNodeWalker一把umbraco DynamicNodeWalker
這裏是圖:
Company
Division 1
Department
Team 1
Employee 1
Employee 2
Team 2
Department 2
Team 3
Employee 3
Employee 4
Team 4
Department 3
Department 4
Division 2
下面是如何使用學步車作爲一把umbraco說明documentation
Assuming you're currently sitting on Company…
Model.Down().Next() //Division 2
Model.Down(1).Next().Down(1) //Employee 3
Or, if you're on Employee 3..
Model.Up(1).Previous().Down().Next() // Team 2
Model.Next() // Employee 4
如果你是僱員2 - 什麼是優雅的方式去二隊?