Summary
Checks if candidate is True.
- Namespace
- FluentSpecification
.Common - Interfaces
-
- I
Negatable Validation Specification <bool> - I
Complex Specification <bool> - I
Validation Specification <bool> - ILinqSpecification
<bool> - ILinqSpecification
- ISpecification
<bool> - I
Negatable Linq Specification <bool> - I
Negatable Specification <bool> - ISpecification
- I
- Base Types
-
- object
- Validation
Specification <bool> - Negatable
Validation Specification <bool> - ComplexSpecification
<bool>
graph BT
Type-->Base0["ComplexSpecification<bool>"]
Base0-->Base1["NegatableValidationSpecification<bool>"]
Base1-->Base2["ValidationSpecification<bool>"]
Base2-->Base3["object"]
Type-.->Interface0["INegatableValidationSpecification<bool>"]
Type-.->Interface1["IComplexSpecification<bool>"]
Type-.->Interface2["IValidationSpecification<bool>"]
Type-.->Interface3["ILinqSpecification<bool>"]
Type-.->Interface4["ILinqSpecification"]
click Interface4 "/FluentSpecification/api/FluentSpecification.Abstractions/ILinqSpecification"
Type-.->Interface5["ISpecification<bool>"]
Type-.->Interface6["INegatableLinqSpecification<bool>"]
Type-.->Interface7["INegatableSpecification<bool>"]
Type-.->Interface8["ISpecification"]
click Interface8 "/FluentSpecification/api/FluentSpecification.Abstractions/ISpecification"
Type["TrueSpecification"]
class Type type-node
Syntax
[PublicAPI]
public sealed class TrueSpecification : ComplexSpecification<bool>,
INegatableValidationSpecification<bool>, IComplexSpecification<bool>,
IValidationSpecification<bool>, ILinqSpecification<bool>, ILinqSpecification,
ISpecification<bool>, INegatableLinqSpecification<bool>, INegatableSpecification<bool>,
ISpecification
Attributes
| Type | Description |
|---|---|
| PublicAPI |
Methods
| Name | Value | Summary |
|---|---|---|
| BuildExpressionBody |
Expression |
Creates special
Expression body when T is non-value or nullable type.
|
| CreateFailedMessage |
string |
Gets validation failed message of
Specification for candidate content.
|
| Create |
string |
Gets validation negation failed message of
Specification for candidate content.
|
| GetParameters |
IReadOnlyDictionary |
Get
Specification internal/external parameters, used for candidate verification.
|
Operators
| Name | Value | Summary |
|---|---|---|
| explicit operator |
Expression |
Inherited from ComplexSpecification
|
| implicit operator |
Expression |
Inherited from ComplexSpecification
|
| implicit operator |
Func |
Inherited from Validation
|
Extension Methods
| Name | Value | Summary |
|---|---|---|
| And |
I |
Creates logical AND
Specification with newly created TSpecification.
From SpecificationCore
|
| And |
I |
Creates composite
Specification proxy for final logical AND Specification.
From SpecificationCore
|
| And |
I |
Creates logical AND
Specification.
From SpecificationCore
|
| AndNot |
I |
Creates logical AND
Specification with newly created and negated TSpecification.
From SpecificationCore
|
| AndNot |
I |
Creates composite
Specification proxy for final logical AND Specification.
Second Specification is negated.
From SpecificationCore
|
| AndNot |
I |
Creates logical AND
Specification with negated other.
From SpecificationCore
|
| As |
I |
Converts
Specification to complex Specification.
From SpecificationCore
|
| AsExpression |
Expression |
Converts
Specification to Linq Expression<T>.
From SpecificationCore
|
| AsPredicate |
Func |
Converts
Specification to Func<T, TResult> predicate.
From SpecificationCore
|
| Not |
I |
Creates logical NOT
Specification.
From SpecificationCore
|
| Or |
I |
Creates logical OR
Specification with newly created TSpecification.
From SpecificationCore
|
| Or |
I |
Creates composite
Specification proxy for final logical OR Specification.
From SpecificationCore
|
| Or |
I |
Creates logical OR
Specification.
From SpecificationCore
|
| OrNot |
I |
Creates logical OR
Specification with newly created and negated TSpecification.
From SpecificationCore
|
| OrNot |
I |
Creates composite
Specification proxy for final logical OR Specification.
Second Specification is negated.
From SpecificationCore
|
| OrNot |
I |
Creates logical OR
Specification with negated other.
From SpecificationCore
|
| WithMessage |
I |
Creates validation
Specification proxy with specific error message factory where not satisfied by.
From SpecificationCore
|
| WithMessage |
I |
Creates validation
Specification proxy with specific error message factory where not satisfied by.
From SpecificationCore
|
| WithMessage |
I |
Creates validation
Specification proxy with specific error message where not satisfied by.
From SpecificationCore
|

