mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-09-18 17:48:01 +08:00
完成导航动态加载
This commit is contained in:
@@ -82,6 +82,17 @@ namespace OpenAuth.UnitTest
|
||||
|
||||
}
|
||||
|
||||
[TestMethod]
|
||||
public void TestLoad()
|
||||
{
|
||||
var modules = _app.LoadByParent(0);
|
||||
foreach (var module in modules)
|
||||
{
|
||||
|
||||
Console.WriteLine(module.Name);
|
||||
}
|
||||
}
|
||||
|
||||
public Module Add(int parent = 0)
|
||||
{
|
||||
var module = new Module()
|
||||
|
Reference in New Issue
Block a user