public static Install create( DirectoryInfo location ) { if ( !location.Exists ) throw new MissingException( location ); var install = new Install( location ); install.availableParts_ = findPartsIn( install.gameDataFolder, install.partsFolder ); return install; }
public static Install create(DirectoryInfo location) { if (!location.Exists) { throw new MissingException(location); } var install = new Install(location); install.availableParts_ = findPartsIn(install.gameDataFolder, install.partsFolder); return(install); }