|
67 | 67 | * [DoNotHaveNameEndingWith](#PredicateDoNotHaveNameEndingWith)
|
68 | 68 | * [DoNotHaveNameMatching](#PredicateDoNotHaveNameMatching)
|
69 | 69 | * [DoNotHaveNameStartingWith](#PredicateDoNotHaveNameStartingWith)
|
| 70 | +* [DoNotHaveParameterlessConstructor](#PredicateDoNotHaveParameterlessConstructor) |
| 71 | +* [DoNotHavePublicConstructor](#PredicateDoNotHavePublicConstructor) |
70 | 72 | * [DoNotImplementInterface](#PredicateDoNotImplementInterface)
|
71 | 73 | * [DoNotImplementInterface<T>](#PredicateDoNotImplementInterface)
|
72 | 74 | * [DoNotInherit](#PredicateDoNotInherit)
|
|
86 | 88 | * [HaveNameEndingWith](#PredicateHaveNameEndingWith)
|
87 | 89 | * [HaveNameMatching](#PredicateHaveNameMatching)
|
88 | 90 | * [HaveNameStartingWith](#PredicateHaveNameStartingWith)
|
| 91 | +* [HaveParameterlessConstructor](#PredicateHaveParameterlessConstructor) |
| 92 | +* [HavePublicConstructor](#PredicateHavePublicConstructor) |
89 | 93 | * [HaveSomeNonNullableMembers](#PredicateHaveSomeNonNullableMembers)
|
90 | 94 | * [ImplementInterface](#PredicateImplementInterface)
|
91 | 95 | * [ImplementInterface<T>](#PredicateImplementInterface)
|
|
147 | 151 | * [HaveNameEndingWith](#ConditionHaveNameEndingWith)
|
148 | 152 | * [HaveNameMatching](#ConditionHaveNameMatching)
|
149 | 153 | * [HaveNameStartingWith](#ConditionHaveNameStartingWith)
|
| 154 | +* [HaveParameterlessConstructor](#ConditionHaveParameterlessConstructor) |
| 155 | +* [HavePublicConstructor](#ConditionHavePublicConstructor) |
150 | 156 | * [HaveSomeNonNullableMembers](#ConditionHaveSomeNonNullableMembers)
|
151 | 157 | * [HaveSourceFileNameMatchingName](#ConditionHaveSourceFileNameMatchingName)
|
152 | 158 | * [HaveSourceFilePathMatchingNamespace](#ConditionHaveSourceFilePathMatchingNamespace)
|
|
184 | 190 | * [NotHaveNameEndingWith](#ConditionNotHaveNameEndingWith)
|
185 | 191 | * [NotHaveNameMatching](#ConditionNotHaveNameMatching)
|
186 | 192 | * [NotHaveNameStartingWith](#ConditionNotHaveNameStartingWith)
|
| 193 | +* [NotHaveParameterlessConstructor](#ConditionNotHaveParameterlessConstructor) |
| 194 | +* [NotHavePublicConstructor](#ConditionNotHavePublicConstructor) |
187 | 195 | * [NotImplementInterface](#ConditionNotImplementInterface)
|
188 | 196 | * [NotImplementInterface<T>](#ConditionNotImplementInterface)
|
189 | 197 | * [NotInherit](#ConditionNotInherit)
|
@@ -249,12 +257,12 @@ IEnumerable<IType> Types.GetTypes(Options options = null)
|
249 | 257 | Returns the list of <see cref="T:System.Type"/> objects describing the types in this list.
|
250 | 258 | ### Types.InAssemblies
|
251 | 259 | ```csharp
|
252 |
| -Types Types.InAssemblies(IEnumerable<Assembly> assemblies, IEnumerable<string> searchDirectories = null) |
| 260 | +Types Types.InAssemblies(IEnumerable<Assembly> assemblies, IEnumerable<string> searchDirectories = null, bool loadReferencedAssemblies = false) |
253 | 261 | ```
|
254 | 262 | Creates a list of types based on a list of assemblies.
|
255 | 263 | ### Types.InAssembly
|
256 | 264 | ```csharp
|
257 |
| -Types Types.InAssembly(Assembly assembly, IEnumerable<string> searchDirectories = null) |
| 265 | +Types Types.InAssembly(Assembly assembly, IEnumerable<string> searchDirectories = null, bool loadReferencedAssemblies = false) |
258 | 266 | ```
|
259 | 267 | Creates a list of types based on a particular assembly.
|
260 | 268 | ### Types.InCurrentDomain
|
@@ -478,7 +486,7 @@ Selects types according that are marked as sealed.
|
478 | 486 | ```csharp
|
479 | 487 | PredicateList Predicate.AreStateless()
|
480 | 488 | ```
|
481 |
| -Selects types that are stateless, they do not have instance state |
| 489 | +Selects types that are stateless, they do not have instance state` |
482 | 490 | ### Predicate.AreStatic
|
483 | 491 | ```csharp
|
484 | 492 | PredicateList Predicate.AreStatic()
|
@@ -549,6 +557,16 @@ Selects types according to a regular expression that does not match their name.
|
549 | 557 | PredicateList Predicate.DoNotHaveNameStartingWith(params string[] start)
|
550 | 558 | ```
|
551 | 559 | Selects types whose names do not start with the specified text.
|
| 560 | +### Predicate.DoNotHaveParameterlessConstructor |
| 561 | +```csharp |
| 562 | +PredicateList Predicate.DoNotHaveParameterlessConstructor() |
| 563 | +``` |
| 564 | +Selects types that do not have any instance parameterless constructors. |
| 565 | +### Predicate.DoNotHavePublicConstructor |
| 566 | +```csharp |
| 567 | +PredicateList Predicate.DoNotHavePublicConstructor() |
| 568 | +``` |
| 569 | +Selects types that do not have any instance public constructors. |
552 | 570 | ### Predicate.DoNotImplementInterface
|
553 | 571 | ```csharp
|
554 | 572 | PredicateList Predicate.DoNotImplementInterface(Type interfaceType)
|
@@ -644,6 +662,16 @@ Selects types according to a regular expression matching their name.
|
644 | 662 | PredicateList Predicate.HaveNameStartingWith(params string[] start)
|
645 | 663 | ```
|
646 | 664 | Selects types whose names start with the specified text.
|
| 665 | +### Predicate.HaveParameterlessConstructor |
| 666 | +```csharp |
| 667 | +PredicateList Predicate.HaveParameterlessConstructor() |
| 668 | +``` |
| 669 | +Selects types that have at least one instance parameterless constructor. |
| 670 | +### Predicate.HavePublicConstructor |
| 671 | +```csharp |
| 672 | +PredicateList Predicate.HavePublicConstructor() |
| 673 | +``` |
| 674 | +Selects types that have at least one instance public constructor. |
647 | 675 | ### Predicate.HaveSomeNonNullableMembers
|
648 | 676 | ```csharp
|
649 | 677 | PredicateList Predicate.HaveSomeNonNullableMembers()
|
@@ -923,6 +951,16 @@ Selects types according to a regular expression matching their name.
|
923 | 951 | ConditionList Condition.HaveNameStartingWith(string start)
|
924 | 952 | ```
|
925 | 953 | Selects types whose names start with the specified text.
|
| 954 | +### Condition.HaveParameterlessConstructor |
| 955 | +```csharp |
| 956 | +ConditionList Condition.HaveParameterlessConstructor() |
| 957 | +``` |
| 958 | +Selects types that have at least one instance parameterless constructor. |
| 959 | +### Condition.HavePublicConstructor |
| 960 | +```csharp |
| 961 | +ConditionList Condition.HavePublicConstructor() |
| 962 | +``` |
| 963 | +Selects types that have at least one instance public constructor. |
926 | 964 | ### Condition.HaveSomeNonNullableMembers
|
927 | 965 | ```csharp
|
928 | 966 | ConditionList Condition.HaveSomeNonNullableMembers()
|
@@ -1108,6 +1146,16 @@ Selects types according to a regular expression that does not match their name.
|
1108 | 1146 | ConditionList Condition.NotHaveNameStartingWith(string start)
|
1109 | 1147 | ```
|
1110 | 1148 | Selects types whose names do not start with the specified text.
|
| 1149 | +### Condition.NotHaveParameterlessConstructor |
| 1150 | +```csharp |
| 1151 | +ConditionList Condition.NotHaveParameterlessConstructor() |
| 1152 | +``` |
| 1153 | +Selects types that do not have any instance parameterless constructors. |
| 1154 | +### Condition.NotHavePublicConstructor |
| 1155 | +```csharp |
| 1156 | +ConditionList Condition.NotHavePublicConstructor() |
| 1157 | +``` |
| 1158 | +Selects types that do not have any instance public constructors. |
1111 | 1159 | ### Condition.NotImplementInterface
|
1112 | 1160 | ```csharp
|
1113 | 1161 | ConditionList Condition.NotImplementInterface(Type interfaceType)
|
|
0 commit comments