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
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -129,7 +129,7 @@ public class SampleApp_ModuleOmega_Tests
129
129
130
130
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.
131
131
132
-
The starting point for any rule is the static [`Types`](documentation/api.md#types) class, where you load a set of types from an assembly, domain or path.
132
+
The starting point for any rule is one of the static methods on[`Types`](documentation/api.md#types) class, where you load a set of types from an assembly, domain or path.
Copy file name to clipboardExpand all lines: documentation/readme.nt
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -80,7 +80,7 @@ The library is available as a package on NuGet: [NetArchTest.eNhancedEdition](ht
80
80
81
81
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.
82
82
83
-
The starting point for any rule is the static [`Types`](documentation/api.md#types) class, where you load a set of types from an assembly, domain or path.
83
+
The starting point for any rule is one of the static methods on [`Types`](documentation/api.md#types) class, where you load a set of types from an assembly, domain or path.
84
84
85
85
```csharp
86
86
var types = Types.InAssembly(typeof(MyClass).Assembly);
@@ -106,6 +106,8 @@ var isValid = result.IsSuccessful;
106
106
var types = result.FailingTypes;
107
107
```
108
108
109
+
> **Tip**
110
+
Loading types is time time-consuming, since `Type` class is immutable, it can be shared between tests.
0 commit comments