Skip to content

Commit 8162772

Browse files
authored
Update README.md
1 parent 8d2b1f0 commit 8162772

1 file changed

Lines changed: 11 additions & 11 deletions

File tree

README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ NetArchTest is well established mature library, but in order to push things forw
1212

1313
What **eNhancedEdition** has to offer:
1414
- [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)
1616

1717

1818

@@ -81,9 +81,9 @@ public void DomainIsIndependent()
8181

8282
### Writing rules
8383

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.
8585

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.
8787

8888
```csharp
8989
var types = Types.InAssembly(typeof(MyClass).Assembly);
@@ -120,16 +120,16 @@ Dependency matrix:
120120
| h | x | x | x |
121121

122122

123-
Available predicates:
123+
Available predicates/conditions:
124124

125125
| | 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 |
126126
|---|---|---|---|---|---|
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 |
133133

134134

135135

@@ -176,4 +176,4 @@ var result = Types.InCurrentDomain()
176176
.MeetCustomRule(myRule)
177177
.GetResult()
178178
.IsSuccessful;
179-
```
179+
```

0 commit comments

Comments
 (0)