protected override void OnHighlightFileNameUpdate() { if (_initializing) { return; } _storedSettingsRepository.SetHighlightFileName(HighlightFileName); }
/// <summary> /// Store all property values in <paramref name="model"/> /// </summary> /// <param name="model"> /// User preference model containing values with which to overwrite /// stored values with /// </param> public void SaveModel(IUserPreferencesModel model) { _storedSettingsRepository.SetAssignProjectColours(model.AssignProjectColours); _storedSettingsRepository.SetGroupByProject(model.GroupByProject); _storedSettingsRepository.SetHighlightFileName(model.HighlightFileName); _storedSettingsRepository.SetShowFileTypeIcons(model.ShowFileTypeIcons); _storedSettingsRepository.SetShowRecentUsage(model.ShowRecentUsage); _storedSettingsRepository.SetPathSegmentCount(model.PathSegmentCount); _storedSettingsRepository.SetUnityRefreshDelay(model.UnityRefreshDelay); _storedSettingsRepository.SetDocumentSortOptionName(model.DocumentSortOptionName); _storedSettingsRepository.SetProjectSortOptionName(model.ProjectSortOptionName); }