Table of Contents

Class AttributeSpecificationBase<TValue, TSelf>

Namespace
The.Search
Assembly
Instagile.dll

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

TValue
TSelf
Inheritance
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

predicate Expression<Func<TValue, bool>>
inversePredicate Expression<Func<TValue, bool>>

Returns

TSelf

And()

public TSelf And()

Returns

TSelf

And(TSelf)

public TSelf And(TSelf subspec)

Parameters

subspec TSelf

Returns

TSelf

Not()

public TSelf Not()

Returns

TSelf

Not(TSelf)

public TSelf Not(TSelf subspec)

Parameters

subspec TSelf

Returns

TSelf

Or()

public TSelf Or()

Returns

TSelf

Or(TSelf)

public TSelf Or(TSelf subspec)

Parameters

subspec TSelf

Returns

TSelf