<PackageReference Include="NUnit" Version="4.4.0" />

NUnit.Framework.Constraints.PropertiesComparerConfiguration<T>

Generic version of PropertiesComparerConfiguration to allow specifiying properties using expression syntax instead of strings.
namespace NUnit.Framework.Constraints { public class PropertiesComparerConfiguration<[System.Runtime.CompilerServices.Nullable(2)] T> : PropertiesComparerConfiguration { public PropertiesComparerConfiguration<T> AllowDifferentTypes(); public PropertiesComparerConfiguration<T> CompareOnlyCommonProperties(); public PropertiesComparerConfiguration<T> Using(params Expression<Func<T, object>>[] properties); public PropertiesComparerConfiguration<T> Using<[System.Runtime.CompilerServices.Nullable(2)] TFrom>(params Expression<Func<TFrom, object>>[] properties); public PropertiesComparerConfiguration<T> Excluding(params Expression<Func<T, object>>[] properties); public PropertiesComparerConfiguration<T> Excluding<[System.Runtime.CompilerServices.Nullable(2)] TFrom>(params Expression<Func<TFrom, object>>[] properties); public PropertiesComparerConfiguration<T> Map<[System.Runtime.CompilerServices.Nullable(2)] TTo>(Expression<Func<T, object>> from, Expression<Func<TTo, object>> to); public PropertiesComparerConfiguration<T> Map<TFrom, TTo>(Expression<Func<TFrom, object>> from, Expression<Func<TTo, object>> to); public PropertiesComparerConfiguration<T> Map<[System.Runtime.CompilerServices.Nullable(2)] TTo>(params(Expression<Func<T, object>> From, Expression<Func<TTo, object>> To)[] properties); public PropertiesComparerConfiguration<T> Map<TFrom, TTo>(params(Expression<Func<TFrom, object>> From, Expression<Func<TTo, object>> To)[] properties); public PropertiesComparerConfiguration<T> Map<TFrom>(Expression<Func<TFrom, object>> from, object value); public PropertiesComparerConfiguration<T> Within(object amount); public PropertiesComparerConfiguration(); } }