Esempio n. 1
0
        public static int Update(DirectoryInfo startPathArg,
                                 VerbosityLevel verbosity,
                                 FileInfo filePath,
                                 string oldVersion,
                                 string newVersion,
                                 bool allowPrerelease,
                                 RollForward rollForward)
        {
            var prereleaseText = allowPrerelease ? "allowing prerelease" : "disallowing prerelease";

            Console.WriteLine(@$ "Run Update from {startPathArg} for {filePath} changing '{oldVersion}' to '{newVersion}' " +
                              $"{prereleaseText} and rollforward to {rollForward} with verbosity {verbosity} ");
            return(7);
        }
Esempio n. 2
0
 public int Update(FileInfo FilePathArg, string OldVersion, string NewVersion, bool AllowPrerelease, RollForward RollForward)
 => ManageGlobalJsonImplementation.Update(StartPathArg, Verbosity, FilePathArg, OldVersion, NewVersion, AllowPrerelease, RollForward);