internal void UpdateFieldTypesIfAny(Dictionary<string, Type> dict) { if (dict == null || RecordFieldConfigurationsDict == null) return; foreach (var key in dict.Keys) { if (RecordFieldConfigurationsDict.ContainsKey(key) && dict[key] != null) RecordFieldConfigurationsDict[key].FieldType = dict[key]; } }
internal void UpdateFieldTypesIfAny(IDictionary <string, Type> dict) { if (dict == null || RecordFieldConfigurationsDict == null) { return; } foreach (var key in dict.Keys) { if (RecordFieldConfigurationsDict.ContainsKey(key) && dict[key] != null) { RecordFieldConfigurationsDict[key].FieldType = dict[key]; } } AreAllFieldTypesNull = RecordFieldConfigurationsDict.All(kvp => kvp.Value.FieldType == null); }