public static UpgradeOrchestrator Create(UpgradeOptions options) { #if LINUX_BUILD return(new LinuxUpgradeOrchestrator(options)); #elif MACOS_BUILD return(new MacUpgradeOrchestrator(options)); #elif WINDOWS_BUILD return(new WindowsUpgradeOrchestrator(options)); #else throw new NotImplementedException(); #endif }
public WindowsUpgradeOrchestrator(UpgradeOptions options) : base(options) { }
public UpgradeOrchestrator(UpgradeOptions options) : this() { this.DryRun = options.DryRun; this.NoVerify = options.NoVerify; }