Specification.

NotEmail(ICompositeSpecification<string>) Method

Summary

Composes self Specification with EmailSpecification negation:

Checks if string is not valid email address.

Namespace
FluentSpecification
Containing Type
Specification

Syntax

[PublicAPI]
[NotNull]
public static IComplexSpecification<string> NotEmail(this ICompositeSpecification<string> self)

Attributes

Type Description
PublicAPI
NotNull

Parameters

Name Type Description
self ICompositeSpecification<string> Self specification.

Return Value

Type Description
IComplexSpecification<string> Composed complex Specification.

Exceptions

Type Description
System.ArgumentNullException Thrown when self is null.
GitHub