Specification.

Expression<T>(Expression<Func<T, bool>>) Method

Summary

Creates ExpressionSpecification<T>:

Checks if external Linq Expression is satisfied by candidate.

Namespace
FluentSpecification
Containing Type
Specification

Syntax

[PublicAPI]
[NotNull]
public static IComplexSpecification<T> Expression<T>(Expression<Func<T, bool>> expression)

Attributes

Type Description
PublicAPI
NotNull

Type Parameters

Name Description
T Type of candidate to verify.

Parameters

Name Type Description
expression Expression<Func<T, bool>> External Expression.

Return Value

Type Description
IComplexSpecification<T> New complex Specification.
GitHub