コード例 #1
0
        public static new DefaultLocation FromFolder(string Location)
        {
            var This = default(DefaultLocation);

            //Set the version folder and the version number.
            {
                var MyVersionFolder = Badger.Deployment.VersionFolder.Find(Location);

                if (MyVersionFolder is { } V1)
                {
                    This = new DefaultLocation();

                    This.VersionFolder = V1;
                }
            }

            if (This is { })
コード例 #2
0
 public static Location FromFolder(string Location) => DefaultLocation.FromFolder(Location);