C# Class Hiro.TypeFilterPredicateExtensions

A helper class that makes easy to build aggregated type predicate expressions.
Show file Open project: philiplaureano/Hiro

Public Methods

Method Description
And ( bool>.this condition, bool>.Func otherCondition ) : bool>.Func

Combines (logically ANDs) two predicate expressions together.

Not ( bool>.this condition ) : bool>.Func

Negates the given <condition.

Or ( bool>.this condition, bool>.Func otherCondition ) : bool>.Func

Combines (logically ORs) two predicate expressions together.

Method Details

And() public static method

Combines (logically ANDs) two predicate expressions together.
public static And ( bool>.this condition, bool>.Func otherCondition ) : bool>.Func
condition bool>.this The first condition.
otherCondition bool>.Func The second condition.
return bool>.Func

Not() public static method

Negates the given <condition.
public static Not ( bool>.this condition ) : bool>.Func
condition bool>.this The predicate that will be logically negated
return bool>.Func

Or() public static method

Combines (logically ORs) two predicate expressions together.
public static Or ( bool>.this condition, bool>.Func otherCondition ) : bool>.Func
condition bool>.this The first condition.
otherCondition bool>.Func The second condition.
return bool>.Func