private void SaveMatchLevel1(MatchedName match) { // Don't save if the values are the same if (match.Level1NotSame()) { matchProvider.SaveMatchLevel1( match.InputLocation.Name1, match.GazetteerLocation.Name1); } }
private static void ValidateLevel1Match( MatchedName match, GazetteerNames gazetteerNames, StringBuilder stringBuilder) { if (gazetteerNames.IsInLevel1Names(match.InputLocation.Name1)) { if (match.Level1NotSame()) { // The input value is in the gazetteer but is not the same as the selected match stringBuilder.Append(match.OriginalInput.Name1); } } }