示例#1
0
        public DynamicDiff(IDiff <TType> original, Dictionary <IDiffItemConflicted, ResolveAction> resolveActions)
        {
            this.aOriginal       = original;
            this.aResolveActions = resolveActions;

            this.aDynamicDiffItemChangedFactory = new DynamicDiffItemChangedFactory(this.aResolveActions, false);
            this.aFinishDiffItemChangedFactory  = new DynamicDiffItemChangedFactory(this.aResolveActions, true);
        }
 public DynamicDiffIterator(IDiff original, DynamicDiffItemChangedFactory dynamicDiffItemChangedFactory, Dictionary <IDiffItemConflicted, ResolveAction> resolveActions)
 {
     this.aOriginal = original;
     this.aDynamicDiffItemChangedFactory = dynamicDiffItemChangedFactory;
     this.aResolveActions = resolveActions;
 }