@@ -27,16 +27,20 @@ void IsSymmetric<TResult>(
2727 /// All dto's live in Project.Dto namespace AND Only dto's live in Project.Dto
2828 /// This means if a DTO is outside of Project.Dto, the test will fail,
2929 /// and if a non-dto is in Project.Dto the test will also fail
30+ ///
31+ /// This overload allows you to work with sets, see ....
3032 /// </summary>
3133 /// <typeparam name="TResult">The data type the convention is applied to</typeparam>
32- /// <param name="conventionResultTitle">Title of the convention, i.e Dto's must live in Project.Dto namespace</param>
33- /// <param name="inverseResultTitle">The inverse scenario title, i.e Non-dtos must not live inside Project.Dto namespace</param>
34- /// <param name="isInclusiveData">Predicate describing if the data is included, for example, t => t.Name.EndsWith("Dto")</param>
35- /// <param name="dataConformsToConvention">
36- /// Predicate describing the convention, for example, t =>
37- /// t.NameSpace.StartsWith("Project.Dto")
38- /// </param>
34+ /// <param name="firstSetFailureTitle">Title of the convention, i.e Dto's must live in Project.Dto namespace</param>
35+ /// <param name="secondSetFailureTitle">The inverse scenario title, i.e Non-dtos must not live inside Project.Dto namespace</param>
3936 /// <param name="allData">All data, for dto example, all types in the project, not just dto's</param>
40- void IsSymmetric < TResult > ( string conventionResultTitle , string inverseResultTitle , Func < TResult , bool > isInclusiveData , Func < TResult , bool > dataConformsToConvention , IEnumerable < TResult > allData ) ;
37+ /// <param name="isPartOfFirstSet">Predicate defining data which is in the first set</param>
38+ /// <param name="isPartOfSecondSet">Predicate defining data which is in the second set</param>
39+ void IsSymmetric < TResult > (
40+ string firstSetFailureTitle ,
41+ string secondSetFailureTitle ,
42+ Func < TResult , bool > isPartOfFirstSet ,
43+ Func < TResult , bool > isPartOfSecondSet ,
44+ IEnumerable < TResult > allData ) ;
4145 }
4246}
0 commit comments