Summary
Composes self Specification
with EmailSpecification
negation for
candidate property:
Checks if string is not valid email address.
Syntax
[PublicAPI]
[NotNull]
public static IComplexSpecification<T> NotEmail<T>(this ICompositeSpecification<T> self, Expression<Func<T, string>> selector)
Attributes
Type |
Description |
PublicAPI |
|
NotNull |
|
Type Parameters
Name |
Description |
T |
Type of candidate. |
Parameters
Name |
Type |
Description |
self |
ICompositeSpecification<T> |
Self specification. |
selector |
Expression<Func<T, string>> |
Candidate property selector. |
Return Value
Exceptions
Type |
Description |
System.ArgumentNullException |
Thrown when self or selector is null. |
System.ArgumentException |
Thrown when selector is not valid. |