示例#1
0
 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);
 }
示例#2
0
 public ModelNodeCanAlign(ModelNodeSimilarityComparer comparer)
 {
     this.comparer = comparer;
 }