public static IContentQuery <TextContent> WhereCategory(this IContentQuery <TextContent> textContents, string categoryFolderName, string[] categoryUUIDs)
        {
            var        textContent = textContents.FirstOrDefault();
            Repository repository  = null;

            if (textContent != null)
            {
                repository = new Repository(textContent.Repository);
            }
            else
            {
                repository = Repository.Current;
            }

            var categoryFolder = new TextFolder(repository, categoryFolderName);
            var categoryQuery  = categoryFolder.CreateQuery().WhereIn(SystemFieldNames.UUID, categoryUUIDs);

            return(textContents.WhereCategory(categoryQuery));
        }