示例#1
0
        public IEnumerable <string> GetBackups()
        {
            var repo = new DisconnectedRepository();
            IEnumerable <string> result = new  List <string>();
            var directorySearcher       = new DirectorySearcher();
            var setting = repo.GetLocalSettings();


            if (setting != null)
            {
                result = directorySearcher.ScanFolder(setting.BackupFolder, SearchPattern.Xml);
            }



            return(result);
        }