Summary
Composes self Specification
with ContainsSpecification
negation:
Checks if string not contains another string (case sensitive).
Syntax
[PublicAPI]
[NotNull]
public static IComplexSpecification<string> NotContains(this ICompositeSpecification<string> self, string notExpected)
Attributes
Type |
Description |
PublicAPI |
|
NotNull |
|
Parameters
Name |
Type |
Description |
self |
ICompositeSpecification<string> |
Self specification. |
notExpected |
string |
Not expected substring. |
Return Value
Exceptions
Type |
Description |
System.ArgumentNullException |
Thrown when self is null. |