コード例 #1
0
ファイル: Comparer.cs プロジェクト: Ancestry/quality-bot
 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>();
 }
コード例 #2
0
 public ElementMapperTests()
 {
     var diffEngine = new DiffMatchPatch();
     _elementMapper = new ElementMapper(diffEngine);
 }