Exemplo n.º 1
0
        /// <summary>
        /// 检查是否包含给定的操作(复数)
        /// </summary>
        public virtual IList <bool> CheckAction(IList <string> actionkeys)
        {
            if (this.ActionKeys.Count == 0 && this.ActionKey != null)
            {
                DeserialRolePurview();
            }

            return(ActionKeys.Select(o => ActionKeys.Contains(o)).ToList());
        }