private static void FileSystemWatcherCreated(object sender, FileSystemEventArgs e) { var location = e.FullPath.Contains(Constants.RTPPath) ? Location.RTP : Location.Local; _resources.Add(new GameResource(e.FullPath, location, ResourceType.Unknown)); }