@@ -27,16 +27,20 @@ void IsSymmetric<TResult>(
27
27
/// All dto's live in Project.Dto namespace AND Only dto's live in Project.Dto
28
28
/// This means if a DTO is outside of Project.Dto, the test will fail,
29
29
/// 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 ....
30
32
/// </summary>
31
33
/// <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>
39
36
/// <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 ) ;
41
45
}
42
46
}
0 commit comments