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; } } } } }