Пример #1
0
    public RBACResource()
    {
        //初始化ASP.NET内置对象
        Response    = System.Web.HttpContext.Current.Response;
        Request     = System.Web.HttpContext.Current.Request;
        Server      = System.Web.HttpContext.Current.Server;
        Session     = System.Web.HttpContext.Current.Session;
        Application = System.Web.HttpContext.Current.Application;

        tools      = ToolsFactory.CreateTools();
        MyBLL      = RBACResourceFactory.CreateRBACResource();
        MyGroupBLL = RBACResourceFactory.CreateRBACResourceGroup();
    }