CompositeSpecification<T>.

CompositeSpecification(ISpecification<T>, ISpecification<T>, Func<Expression, Expression, Expression>) Constructor

Summary

Creates base composite object with correct Linq Expression.

Syntax

[PublicAPI]
protected CompositeSpecification(ISpecification<T> left, ISpecification<T> right, Func<Expression, Expression, Expression> mergeExpression)

Attributes

Type Description
PublicAPI

Parameters

Name Type Description
left ISpecification<T> Base first Expression.
right ISpecification<T> Base second Expression.
mergeExpression Func<Expression, Expression, Expression> Merge function.

Return Value

Type Description
void

Exceptions

Type Description
System.ArgumentNullException Thrown when left, right or mergeExpression is null.
GitHub