示例#1
0
 public Comparer()
 {
     _diffEngine       = new DiffMatchPatch { Diff_Timeout = 0 };
     var cm            = new ColorMatrix    { Matrix33 = 0.25f };
     _ia               = new ImageAttributes();
     _ia.SetColorMatrix(cm);
     _elementMapper    = new ElementMapper(_diffEngine);
     _conflictResolver = new ConflictResolver<ScrapedElement>();
 }
 public ElementMapperTests()
 {
     var diffEngine = new DiffMatchPatch();
     _elementMapper = new ElementMapper(diffEngine);
 }