Ejemplo n.º 1
0
 /// <inheritdoc/>
 public IEnumerable <AttributeComparison> Match(IDiffContext context, SourceMap controlAttrSources, SourceMap testAttrSources)
 {
     foreach (var matcher in _attrsMatchers)
     {
         foreach (var comparison in matcher(context, controlAttrSources, testAttrSources))
         {
             controlAttrSources.MarkAsMatched(comparison.Control);
             testAttrSources.MarkAsMatched(comparison.Test);
             yield return(comparison);
         }
     }
 }