AcManager.Tools.Helpers.IniFileExtension.GetEntry C# (CSharp) Method

GetEntry() private method

private GetEntry ( this section, [ key, IList entries ) : SettingEntry
section this
key [
entries IList
return SettingEntry
        public static SettingEntry GetEntry(this IniFileSection section, [LocalizationRequired(false)] string key, IList<SettingEntry> entries) {
            var value = section.GetNonEmpty(key);
            return entries.FirstOrDefault(x => x.Value == value) ?? entries.First();
        }

Same methods

IniFileExtension::GetEntry ( this section, [ key, IList entries, [ defaultValue ) : SettingEntry
IniFileExtension::GetEntry ( this section, [ key, IList entries, int defaultValueId ) : SettingEntry