private void WatcherOnChange(string path) { Logger.Info(this, "Detected that package " + path + " was changed"); Package newPackage = FilePackage.Open(path); this.Update(newPackage); }
public static Package Open(string path) { FilePackage package = new FilePackage { _path = System.IO.Path.GetFullPath(path), Source = path }; return (package); }
public static Package Open(string path) { FilePackage package = new FilePackage { _path = System.IO.Path.GetFullPath(path), Source = path }; return(package); }