You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+11-11Lines changed: 11 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ NetArchTest is well established mature library, but in order to push things forw
12
12
13
13
What **eNhancedEdition** has to offer:
14
14
-[Slices](#slices)
15
-
- solved BenMorris/NetArchTest#105 - dependency search functions: HaveDependencyOnAny/OnlyHaveDependencyOn explain why a type fails test
15
+
- solved BenMorris/NetArchTest#105 - dependency search functions: HaveDependencyOnAny/OnlyHaveDependencyOn explain why a type fails test through [IType.Explanation](documentation/api.md#itypeexplanation)
16
16
17
17
18
18
@@ -81,9 +81,9 @@ public void DomainIsIndependent()
81
81
82
82
### Writing rules
83
83
84
-
The fluent API should direct you in building up a rule, based on a combination of predicates, conditions and conjunctions.
84
+
The fluent API should direct you in building up a rule, based on a combination of [predicates](documentation/api.md#predicate), [conditions](documentation/api.md#condition) and conjunctions.
85
85
86
-
The starting point for any rule is the static `Types` class, where you load a set of types from a path, assembly.
86
+
The starting point for any rule is the static [`Types`](documentation/api.md#types) class, where you load a set of types from a path, assembly.
|| Predicate | number<br> of required<br> dependencies <br>from the list | type can have<br>a dependency<br>that is not<br>on the list | passing types | failing types |
126
126
|---|---|---|---|---|---|
127
-
| 1 | HaveDependencyOnAny(D1, D2) | at least 1 | yes | c, d, e, f, g, h, | a, b |
128
-
| 2 | HaveDependencyOnAll(D1, D2) | all | yes | g, h | a, b, c, d, e, f |
129
-
| 3 | OnlyHaveDependencyOn(D1, D2) | >=0 | no | a, c, e, g | b, d, f, h |
130
-
| 1N |DoNotHaveDependencyOnAny(D1, D2) | none | yes | a, b | c, d, e, f, g, h, |
131
-
| 2N |DoNotHaveDependencyOnAll(D1, D2) | not all | yes | a, b, c, d, e, f | g, h |
132
-
| 3N | HaveDependencyOtherThan(D1, D2) | >=0 | yes | b, d, f, h, | a, c, e, g |
127
+
| 1 |[HaveDependencyOnAny(D1, D2)](documentation/api.md#conditionhavedependencyonany)| at least 1 | yes | c, d, e, f, g, h, | a, b |
128
+
| 2 |[HaveDependencyOnAll(D1, D2)](documentation/api.md#conditionhavedependencyonall)| all | yes | g, h | a, b, c, d, e, f |
129
+
| 3 |[OnlyHaveDependencyOn(D1, D2)](documentation/api.md#conditiononlyhavedependencyon)| >=0 | no | a, c, e, g | b, d, f, h |
130
+
| 1N |[NotHaveDependencyOnAny(D1, D2)](documentation/api.md#conditionnothavedependencyonany)| none | yes | a, b | c, d, e, f, g, h, |
131
+
| 2N |[NotHaveDependencyOnAll(D1, D2)](documentation/api.md#conditionnothavedependencyonall)| not all | yes | a, b, c, d, e, f | g, h |
132
+
| 3N |[HaveDependencyOtherThan(D1, D2)](documentation/api.md#conditionhavedependencyotherthan)| >=0 | yes | b, d, f, h, | a, c, e, g |
133
133
134
134
135
135
@@ -176,4 +176,4 @@ var result = Types.InCurrentDomain()
0 commit comments