ACAT.Lib.Core.PanelManagement.PanelConfigMap.findMapEntryInList C# (CSharp) Метод

findMapEntryInList() приватный статический Метод

Finds the specified config file name in the list and returns the map entry object that has the file name
private static findMapEntryInList ( String configName, IEnumerable list ) : ACAT.Lib.Core.PanelManagement.PanelConfigMapEntry
configName String name of the animation file
list IEnumerable list to look in
Результат ACAT.Lib.Core.PanelManagement.PanelConfigMapEntry
        private static PanelConfigMapEntry findMapEntryInList(String configName, IEnumerable<PanelConfigMapEntry> list)
        {
            foreach (var mapEntry in list)
            {
                if (String.Compare(configName, mapEntry.ConfigName, true) == 0)
                {
                    return mapEntry;
                }
            }

            return null;
        }