Пример #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());
        }
 public void AddInstalls(string directory)
 {
     _settingsService.AddInstalls(directory);
 }