コード例 #1
0
        public override List <Program> LoadPrograms()
        {
            List <Program> list = new List <Program>();

            if (Directory.Exists(baseDirectory))
            {
                GetAppFromDirectory(baseDirectory, list);
                FileChangeWatcher.AddWatch(baseDirectory);
            }
            return(list);
        }
コード例 #2
0
        public override List <Program> LoadPrograms()
        {
            var list = new List <Program>();

            if (Directory.Exists(Location))
            {
                GetAppFromDirectory(Location, list);
                FileChangeWatcher.AddWatch(Location, Suffixes);
            }
            return(list);
        }