public override List <Program> LoadPrograms() { List <Program> list = new List <Program>(); if (Directory.Exists(baseDirectory)) { GetAppFromDirectory(baseDirectory, list); FileChangeWatcher.AddWatch(baseDirectory); } return(list); }
public override List <Program> LoadPrograms() { var list = new List <Program>(); if (Directory.Exists(Location)) { GetAppFromDirectory(Location, list); FileChangeWatcher.AddWatch(Location, Suffixes); } return(list); }