//[TaskMethod(Weight = 10)]
        public async Task SetPrivateAsync(ITypeCategory category, TaskContext context)
        {
            var authentication = context.Authentication;

            if (context.AllowException == false)
            {
                if (category.Parent == null)
                {
                    return;
                }
                if (category.IsPrivate == false)
                {
                    return;
                }
            }
            await category.SetPrivateAsync(authentication);
        }