Summary
Specifications
e.g. in fluent API.
- Namespace
- FluentSpecification
.Abstractions .Generic
Syntax
[PublicAPI]
public interface ICompositeSpecification<T>
Attributes
Type | Description |
---|---|
PublicAPI |
Type Parameters
Name | Description |
---|---|
T | Type of candidate to verify. |
Properties
Name | Value | Summary |
---|---|---|
BaseSpecification | ISpecification |
"Left"
Specification , ready for compose.
|
Methods
Name | Value | Summary |
---|---|---|
Compose |
I |
Extension Methods
Name | Value | Summary |
---|---|---|
All |
I |
Composes self
Checks if From Specification
|
All |
I |
Composes self
Checks if From Specification
|
Any |
I |
Composes self
Checks if From Specification
|
Any |
I |
Composes self
Checks if From Specification
|
Cast |
I |
Composes self
Converts From Specification
|
Cast |
I |
Composes self
Converts From Specification
|
Contains |
I |
Composes self Checks if candidate property contains expected element. From Specification
|
Contains |
I |
Composes self Checks if candidate contains expected element. From Specification
|
Contains |
I |
Composes self Checks if string contains another string (case sensitive). From Specification
|
CreditCard |
I |
Composes self Checks if string is valid credit card number. From Specification
|
Email |
I |
Composes self Checks if string is valid email address. From Specification
|
Empty |
I |
Composes self Checks if candidate property is empty. From Specification
|
Empty |
I |
Composes self Checks if candidate is empty. From Specification
|
Equal |
I |
Composes self Checks if candidate property is equal to expected object. From Specification
|
Equal |
I |
Composes self Checks if candidate object is equal to expected object. From Specification
|
ExclusiveBetween |
I |
Composes self Checks if candidate property is between (exclusive) min and max value. From Specification
|
ExclusiveBetween |
I |
Composes self Checks if candidate object is between (exclusive) min and max value. From Specification
|
Expression |
I |
Composes self
Checks if external From Specification
|
Expression |
I |
Composes self
Checks if external From Specification
|
False |
I |
Composes self Checks if candidate property is False. From Specification
|
ForProperty |
I |
Composes self
Verifies if From Specification
|
GreaterThan |
I |
Composes self Checks if candidate property is greater than expected value. From Specification
|
GreaterThan |
I |
Composes self Checks if candidate object is greater than expected value. From Specification
|
GreaterThanOrEqual |
I |
Composes self Checks if candidate property is greater than or equal to expected value. From Specification
|
GreaterThanOrEqual |
I |
Composes self Checks if candidate object is greater than or equal to expected value. From Specification
|
InclusiveBetween |
I |
Composes self Checks if candidate property is between (inclusive) min and max value. From Specification
|
InclusiveBetween |
I |
Composes self Checks if candidate object is between (inclusive) min and max value. From Specification
|
IsNotType |
I |
Composes self Checks if candidate property is not compatible with a given type. From Specification
|
IsNotType |
I |
Composes self Checks if candidate is not compatible with a given type. From Specification
|
IsType |
I |
Composes self Checks if candidate property is compatible with a given type. From Specification
|
IsType |
I |
Composes self Checks if candidate is compatible with a given type. From Specification
|
Length |
I |
Composes self Checks if length of candidate property is equal to specific value. From Specification
|
LengthBetween |
I |
Composes self Checks if length of candidate property is between Min and Max values. From Specification
|
LessThan |
I |
Composes self Checks if candidate property is lower than expected value. From Specification
|
LessThan |
I |
Composes self Checks if candidate object is lower than expected value. From Specification
|
LessThanOrEqual |
I |
Composes self Checks if candidate property is lower than or equal to expected value. From Specification
|
LessThanOrEqual |
I |
Composes self Checks if candidate object is lower than or equal to expected value. From Specification
|
Match |
I |
Composes self Checks if string candidate property match a given Regex pattern. From Specification
|
MaxLength |
I |
Composes self Checks if length of candidate property is lower than or equal to Max value. From Specification
|
MinLength |
I |
Composes self Checks if length of candidate property is greater than or equal to Min value. From Specification
|
NotContains |
I |
Composes self Checks if candidate property not contains expected element. From Specification
|
NotContains |
I |
Composes self Checks if candidate not contains expected element. From Specification
|
NotContains |
I |
Composes self Checks if string not contains another string (case sensitive). From Specification
|
NotCreditCard |
I |
Composes self Checks if string is not valid credit card number. From Specification
|
NotEmail |
I |
Composes self Checks if string is not valid email address. From Specification
|
NotEmpty |
I |
Composes self Checks if candidate property is not empty. From Specification
|
NotEmpty |
I |
Composes self Checks if candidate is not empty. From Specification
|
NotEqual |
I |
Composes self Checks if candidate property is not equal to expected object. From Specification
|
NotEqual |
I |
Composes self Checks if candidate object is not equal to expected object. From Specification
|
NotExclusiveBetween |
I |
Composes self Checks if candidate property is not between (exclusive) min and max value. From Specification
|
NotExclusiveBetween |
I |
Composes self Checks if candidate object is not between (exclusive) min and max value. From Specification
|
NotGreaterThan |
I |
Composes self Checks if candidate property is not greater than (lower than or equal to) expected value. From Specification
|
NotGreaterThan |
I |
Composes self Checks if candidate object is not greater than (lower than or equal to) expected value. From Specification
|
Not |
I |
Composes self Checks if candidate property is not greater than or equal to (lower than) expected value. From Specification
|
Not |
I |
Composes self Checks if candidate object is not greater than or equal to (lower than) expected value. From Specification
|
NotInclusiveBetween |
I |
Composes self Checks if candidate property is not between (inclusive) min and max value. From Specification
|
NotInclusiveBetween |
I |
Composes self Checks if candidate object is not between (inclusive) min and max value. From Specification
|
NotLength |
I |
Composes self Checks if length of candidate property is not equal to specific value. From Specification
|
NotLengthBetween |
I |
Composes self Checks if length of candidate property is not between Min and Max values. From Specification
|
NotLessThan |
I |
Composes self Checks if candidate property is not lower than (greater than or equal to) expected value. From Specification
|
NotLessThan |
I |
Composes self Checks if candidate object is not lower than (greater than or equal to) expected value. From Specification
|
NotLessThanOrEqual |
I |
Composes self Checks if candidate property is not lower than or equal to (greater than) expected value. From Specification
|
NotLessThanOrEqual |
I |
Composes self Checks if candidate object is not lower than or equal to (greater than) expected value. From Specification
|
NotMatch |
I |
Composes self Checks if string candidate property not match a given Regex pattern. From Specification
|
NotMaxLength |
I |
Composes self Checks if length of candidate property is not lower than or equal to (is greater than) Max value. From Specification
|
NotMinLength |
I |
Composes self Checks if length of candidate property is not greater than or equal to (is less than) Min value. From Specification
|
NotNull |
I |
Composes self Checks if candidate property is not null. From Specification
|
NotNull |
I |
Composes self Checks if candidate is not null. From Specification
|
Null |
I |
Composes self Checks if candidate property is null. From Specification
|
Null |
I |
Composes self Checks if candidate is null. From Specification
|
True |
I |
Composes self Checks if candidate property is True. From Specification
|