コード例 #1
0
        public List <SysPermission> GetPermissionList(PermissionCode permission)
        {
            Type t = permission.GetType();
            List <SysPermission> list = new List <SysPermission>();

            list = GetPermissionList(t, list);
            return(list);
        }
コード例 #2
0
        public List <SysPermission> GetPermissionList(PermissionCode permission)
        {
            Type t = permission.GetType();
            List <SysPermission> list = new List <SysPermission>();

            //SysPermission p = new SysPermission();
            //p.Id = "0";
            //p.Name = "权限集合";
            //p.PId = "";
            //list.Add(p);
            list = GetBasePermissionList(t, list);
            return(list);
        }