|
54 | 54 | * [AreSealed](#PredicateAreSealed) |
55 | 55 | * [AreStateless](#PredicateAreStateless) |
56 | 56 | * [AreStatic](#PredicateAreStatic) |
| 57 | +* [AreStaticless](#PredicateAreStaticless) |
57 | 58 | * [AreStructures](#PredicateAreStructures) |
58 | 59 | * [AreUsedByAny](#PredicateAreUsedByAny) |
59 | 60 | * [DoNotHaveCustomAttribute](#PredicateDoNotHaveCustomAttribute) |
|
131 | 132 | * [BeSealed](#ConditionBeSealed) |
132 | 133 | * [BeStateless](#ConditionBeStateless) |
133 | 134 | * [BeStatic](#ConditionBeStatic) |
| 135 | +* [BeStaticless](#ConditionBeStaticless) |
134 | 136 | * [BeStructures](#ConditionBeStructures) |
135 | 137 | * [BeUsedByAny](#ConditionBeUsedByAny) |
136 | 138 | * [HaveCustomAttribute](#ConditionHaveCustomAttribute) |
|
209 | 211 |
|
210 | 212 | * [FailingTypes](#TestResultFailingTypes) |
211 | 213 | * [IsSuccessful](#TestResultIsSuccessful) |
| 214 | +* [LoadedAssemblies](#TestResultLoadedAssemblies) |
212 | 215 | * [LoadedTypes](#TestResultLoadedTypes) |
213 | 216 | * [SelectedTypesForTesting](#TestResultSelectedTypesForTesting) |
214 | 217 |
|
|
220 | 223 | * [ReflectionType](#ITypeReflectionType) |
221 | 224 | * [SourceFilePath](#ITypeSourceFilePath) |
222 | 225 |
|
| 226 | +## IAssembly |
| 227 | + |
| 228 | +* [FullName](#IAssemblyFullName) |
| 229 | + |
223 | 230 | ## Options |
224 | 231 |
|
225 | 232 | * [Comparer](#OptionsComparer) |
226 | 233 |
|
227 | 234 | ## Types |
228 | 235 | ### Types.FromFile |
229 | 236 | ```csharp |
230 | | -Types Types.FromFile(string fileName) |
| 237 | +Types Types.FromFile(string fileName, IEnumerable<string> searchDirectories = null) |
231 | 238 | ``` |
232 | 239 | Creates a list of all the types in a particular module file. |
233 | 240 | ### Types.FromPath |
@@ -477,6 +484,11 @@ Selects types that are stateless, they do not have instance state |
477 | 484 | PredicateList Predicate.AreStatic() |
478 | 485 | ``` |
479 | 486 | Selects types that are static. |
| 487 | +### Predicate.AreStaticless |
| 488 | +```csharp |
| 489 | +PredicateList Predicate.AreStaticless() |
| 490 | +``` |
| 491 | +Selects types that are staticless, they do not have static state |
480 | 492 | ### Predicate.AreStructures |
481 | 493 | ```csharp |
482 | 494 | PredicateList Predicate.AreStructures() |
@@ -836,6 +848,11 @@ Selects types that are stateless, they do not have instance state |
836 | 848 | ConditionList Condition.BeStatic() |
837 | 849 | ``` |
838 | 850 | Selects types that are static. |
| 851 | +### Condition.BeStaticless |
| 852 | +```csharp |
| 853 | +ConditionList Condition.BeStaticless() |
| 854 | +``` |
| 855 | +Selects types that are staticless, they do not have static state |
839 | 856 | ### Condition.BeStructures |
840 | 857 | ```csharp |
841 | 858 | ConditionList Condition.BeStructures() |
@@ -1200,6 +1217,11 @@ Gets a list of the types that failed the test. |
1200 | 1217 | IsSuccessful |
1201 | 1218 | ``` |
1202 | 1219 | Gets a flag indicating the success or failure of the test. |
| 1220 | +### TestResult.LoadedAssemblies |
| 1221 | +```csharp |
| 1222 | +LoadedAssemblies |
| 1223 | +``` |
| 1224 | +Gets a list of all the assemblies that were loded by <see cref="T:NetArchTest.Rules.Types"/>. |
1203 | 1225 | ### TestResult.LoadedTypes |
1204 | 1226 | ```csharp |
1205 | 1227 | LoadedTypes |
@@ -1238,6 +1260,13 @@ SourceFilePath |
1238 | 1260 | ``` |
1239 | 1261 | Path to the source file where type is defined. |
1240 | 1262 |
|
| 1263 | +## IAssembly |
| 1264 | +### IAssembly.FullName |
| 1265 | +```csharp |
| 1266 | +FullName |
| 1267 | +``` |
| 1268 | +FullName of the assembly |
| 1269 | + |
1241 | 1270 | ## Options |
1242 | 1271 | ### Options.Comparer |
1243 | 1272 | ```csharp |
|
0 commit comments