Specification.

CreditCard(ICompositeSpecification<string>) Method

Summary

Composes self Specification with CreditCardSpecification:

Checks if string is valid credit card number.

Namespace
FluentSpecification
Containing Type
Specification

Syntax

[PublicAPI]
[NotNull]
public static IComplexSpecification<string> CreditCard(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.
GitHub