GetEffectiveSetting() public method

public GetEffectiveSetting ( string setting ) : string
setting string
return string
        public SelectionChangeAction ProcessRevisionSelectionChange(GitModule currentModule, ICollection<GitRevision> selectedRevisions)
        {
            if (selectedRevisions.Count > 1)
                return SelectionChangeAction.NoAction;

            var newSelectedRevision = selectedRevisions.FirstOrDefault();
            bool differentRevisionAuthorSelected =
                !AuthorEmailEqualityComparer.Instance.Equals(_currentSelectedRevision, newSelectedRevision);

            if (differentRevisionAuthorSelected)
            {
                AuthorEmailToHighlight = newSelectedRevision != null
                                             ? newSelectedRevision.AuthorEmail
                                             : currentModule.GetEffectiveSetting(SettingKeyString.UserEmail);
            }

            _currentSelectedRevision = newSelectedRevision;
            return differentRevisionAuthorSelected
                       ? SelectionChangeAction.RefreshUserInterface
                       : SelectionChangeAction.NoAction;
        }