public DataMatcher(TypeDescriptorFactory descriptorFactory) { if (descriptorFactory == null) { throw new ArgumentNullException("descriptorFactory"); } this.descriptorFactory = descriptorFactory; modelNodeComparer = new ModelNodeComparer(this); modelNodeSimilarityComparer = new ModelNodeSimilarityComparer(this); modelNodeCanAlign = new ModelNodeCanAlign(modelNodeSimilarityComparer); }
public ModelNodeCanAlign(ModelNodeSimilarityComparer comparer) { this.comparer = comparer; }