CompositePredicate

Name Value
Assembly Catel.Core
Namespace Catel
Available on .NET Framework 4.5, .NET Framework 4.6, Portable Class Libraries, Xamarin - Android, Xamarin - iOS
public class CompositePredicate<T, T> where T : class 

Composite predicate.

Type Parameters

T The predicates.

Fields

Methods

DoesNotMatchAny(T target)

Checks whether the specified target does not match any of the registered predicates.

Parameters

Name Description
target The target.

Returns

true if the target does not match any of the filters,false otherwise.

Exceptions

Name Description
ArgumentNullException The target isnull.

MatchesAll(T target)

Checks whether the specified target matches all of the registered predicates.

Parameters

Name Description
target The target.

Returns

true if the target matches all of the filters,false otherwise.

Exceptions

Name Description
ArgumentNullException The target isnull.

MatchesAny(T target)

Checks whether the specified target matches any of the registered predicates.

Parameters

Name Description
target The target.

Returns

true if the target matches any of the filters,false otherwise.

Exceptions

Name Description
ArgumentNullException The target isnull.

MatchesNone(T target)

Checks whether the specified target matches none of the registered predicates.

Parameters

Name Description
target The target.

Returns

true if the target matches none of the filters,false otherwise.

Exceptions

Name Description
ArgumentNullException The target isnull.

Have a question about Catel? Use StackOverflow with the Catel tag!


Discussion