Class AttributeSpecificationBase<TValue, TSelf>
Base class for attribute specifications used in search queries.
public abstract class AttributeSpecificationBase<TValue, TSelf> : SpecificationBase<TValue> where TSelf : AttributeSpecificationBase<TValue, TSelf>, new()
Type Parameters
TValueTSelf
- Inheritance
-
SpecificationBase<TValue>AttributeSpecificationBase<TValue, TSelf>
- Derived
- Inherited Members
Methods
Add(Expression<Func<TValue, bool>>, Expression<Func<TValue, bool>>)
protected TSelf Add(Expression<Func<TValue, bool>> predicate, Expression<Func<TValue, bool>> inversePredicate)
Parameters
predicateExpression<Func<TValue, bool>>inversePredicateExpression<Func<TValue, bool>>
Returns
- TSelf
And()
public TSelf And()
Returns
- TSelf
And(TSelf)
public TSelf And(TSelf subspec)
Parameters
subspecTSelf
Returns
- TSelf
Not()
public TSelf Not()
Returns
- TSelf
Not(TSelf)
public TSelf Not(TSelf subspec)
Parameters
subspecTSelf
Returns
- TSelf
Or()
public TSelf Or()
Returns
- TSelf
Or(TSelf)
public TSelf Or(TSelf subspec)
Parameters
subspecTSelf
Returns
- TSelf