Summary
Converts
Specification
to Linq
Expression<T>
.
- Namespace
- FluentSpecification
.Core - Containing Type
- SpecificationCore
Syntax
[PublicAPI]
[NotNull]
public static Expression<Func<T, bool>> AsExpression<T>(this ISpecification<T> self)
Attributes
Type | Description |
---|---|
PublicAPI | |
NotNull |
Type Parameters
Name | Description |
---|---|
T | Type of candidate. |
Parameters
Name | Type | Description |
---|---|---|
self | ISpecification |
Self specification. |
Return Value
Type | Description |
---|---|
Expression |
Linq expression for candidate verification.
|
Exceptions
Type | Description |
---|---|
System.NullReferenceException | Thrown when self is null. |