Example #1
0
        public PermissionType permissionType; //Loại phân quyền

        #endregion Fields

        #region Constructors

        public PermissionItem(string featureName, PermissionType permissionType,
            PermissionHow permissionHow, DelegationLib.CallFunction_NoIn_NoOut failAction)
        {
            this.featureName = featureName;
            this.permissionType = permissionType;
            this.permissionHow = permissionHow;
            this.failAction = failAction;
        }
Example #2
0
 public PermissionItem GetPermissionItem(PermissionType type, PermissionHow how)
 {
     PermissionItem item = GetPermissionItem(type);
     item.permissionHow = how;
     return item;
 }