Exemplo n.º 1
0
 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);
     }
 }
Exemplo n.º 2
0
 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);
         }
     }
 }
Exemplo n.º 3
0
 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);
     }
 }
Exemplo n.º 4
0
 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);
         }
     }
 }