Beispiel #1
0
        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;
        }
Beispiel #2
0
        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);
        }