public HashSet <string> getAllComponentTitles(string folderUri)
        {
            var titles = getComponentTitles(folderUri);

            //Also load titles from components in lower folders
            BluePrintFilterData filter = new BluePrintFilterData();

            filter.ForItem = new LinkToRepositoryLocalObjectData {
                IdRef = folderUri
            };
            var bluePrintData = _client.GetSystemWideListXml(filter);

            var allRelevantFolders = bluePrintData.Descendants(TridionNamespaceManager.Tcm + "Item").Where(item => item.Attribute("IsShared").Value == "True");

            allRelevantFolders.ToList().ForEach(folder => getComponentTitles(folder.Attribute("ID").Value).ToList().ForEach(component => titles.Add(component)));

            return(titles);
        }
        public HashSet<string> getAllComponentTitles(string folderUri)
        {
            var titles = getComponentTitles(folderUri);


            //Also load titles from components in lower folders 
            BluePrintFilterData filter = new BluePrintFilterData();
            filter.ForItem = new LinkToRepositoryLocalObjectData { IdRef = folderUri };
            var bluePrintData = client.GetSystemWideListXml(filter);

            var allRelevantFolders = bluePrintData.Descendants(TridionNamespaceManager.Tcm + "Item").Where(item => item.Attribute("IsShared").Value == "True");

            allRelevantFolders.ToList().ForEach(folder => getComponentTitles(folder.Attribute("ID").Value).ToList().ForEach(component => titles.Add(component)));


            return titles;



        }