示例#1
0
        public override bool Commit()
        {
            var defaultInstallation = Installations.First(i => i.IsDefault.Value);

            _settingsService.AddInstalls(Installations.Select(i => i.ConcreteInstall.Directory).ToArray());
            _settingsService.SelectedInstall = defaultInstallation.ConcreteInstall;

            return(base.Commit());
        }