ACAT.Lib.Core.PanelManagement.PanelConfigMap.updateFormTypeReferences C# (CSharp) Method

updateFormTypeReferences() private static method

Looks up the maptable, find entries that have the specified guid and updates the class Type to the specified type
private static updateFormTypeReferences ( System.Guid guid, Type type ) : void
guid System.Guid Scanner guid
type System.Type Scanner Type
return void
        private static void updateFormTypeReferences(Guid guid, Type type)
        {
            foreach (var list in _mapTable.Values)
            {
                foreach (var panelConfigMapEntry in list)
                {
                    if (panelConfigMapEntry.FormType == null && panelConfigMapEntry.FormId.Equals(guid))
                    {
                        panelConfigMapEntry.FormType = type;
                    }
                }
            }
        }
    }