PropertiesComparerConfiguration<T>
Generic version of PropertiesComparerConfiguration to allow
specifiying properties using expression syntax instead of strings.
public PropertiesComparerConfiguration()
Set the AllowComparingDifferentTypes property.
Set the OnlyCompareCommonProperties property.
Set the PropertyNamesToExclude property.
public PropertiesComparerConfiguration<T> Excluding<TFrom>(Expression<Func<TFrom, object>>[] properties)
Set the PropertyNamesToExclude property.
public PropertiesComparerConfiguration<T> Map<TTo>(Expression<Func<T, object>> from, Expression<Func<TTo, object>> to)
Updates the PropertyNameMapForType property.
public PropertiesComparerConfiguration<T> Map<TFrom, TTo>(Expression<Func<TFrom, object>> from, Expression<Func<TTo, object>> to)
Updates the PropertyNameMapForType property.
public PropertiesComparerConfiguration<T> Map<TTo>(ValueTuple<Expression<Func<T, object>>, Expression<Func<TTo, object>>>[] properties)
Set the PropertyNameMapForType property.
public PropertiesComparerConfiguration<T> Map<TFrom, TTo>(ValueTuple<Expression<Func<TFrom, object>>, Expression<Func<TTo, object>>>[] properties)
Set the PropertyNameMapForType property.
public PropertiesComparerConfiguration<T> Map<TFrom>(Expression<Func<TFrom, object>> from, object value)
Updates the PropertyNameToValueMapForType property.
Set the PropertyNamesToUseForType property.
public PropertiesComparerConfiguration<T> Using<TFrom>(Expression<Func<TFrom, object>>[] properties)
Set the PropertyNamesToUseForType property.
Specify a tolerance for all numeric comparisons.