Ejemplo n.º 1
0
 public void AllowOnType(PropertyComparator customComparator)
 {
     _customTypePropertyComparisons.Add(customComparator);
 }
Ejemplo n.º 2
0
 public void Allow(object instance, PropertyComparator customComparator)
 {
     if (!_customInstancePropertyComparisons.ContainsKey(instance))
         _customInstancePropertyComparisons.Add(instance, new List<PropertyComparator>());
     _customInstancePropertyComparisons[instance].Add(customComparator);
 }