public static UpgradeOrchestrator Create(UpgradeOptions options)
        {
            if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows))
            {
                return(new WindowsUpgradeOrchestrator(options));
            }

            if (RuntimeInformation.IsOSPlatform(OSPlatform.OSX))
            {
                return(new MacUpgradeOrchestrator(options));
            }

            throw new System.NotImplementedException();
        }
 public UpgradeOrchestrator(UpgradeOptions options)
     : this()
 {
     this.DryRun   = options.DryRun;
     this.NoVerify = options.NoVerify;
 }
 public WindowsUpgradeOrchestrator(UpgradeOptions options)
     : base(options)
 {
 }