v2.8.2012.0721   改进ICommonManageProvider对于类型和菜单根的实现,直接从管理员类中获取,不再需要单独重载指定 增加设置类、手册类 完善菜单、附件、地区等功能
Stone 编写于 2012-07-21 09:04:11
X
using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using NewLife.CommonEntity;
using NewLife.Log;
using NewLife.YWS.Entities;
using XCode;
using System.Reflection;
using System.IO;

public partial class Test : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        ICommonManageProvider provider = CommonManageProvider.Provider;
        XTrace.WriteLine(provider.AdminstratorType + "");
        XTrace.WriteLine(provider.RoleType + "");
        XTrace.WriteLine(provider.MenuType + "");
        XTrace.WriteLine(provider.MenuRoot + "");
    }
}