MetalamaAPI documentationExtensions APIMetalama.​Extensions.​Architecture.​PredicatesReference­Predicate­ExtensionsAnd
Open sandboxFocus

ReferencePredicateExtensions.And Method

And(ReferencePredicate, Func<ReferencePredicateBuilder, ReferencePredicate>)

Combines two predicates with the and condition. This overload accepts the second predicate as a delegate.

Declaration
public static ReferencePredicate And(this ReferencePredicate predicate, Func<ReferencePredicateBuilder, ReferencePredicate> otherPredicate)
Parameters
Type Name Description
ReferencePredicate predicate
System.Func<ReferencePredicateBuilder, ReferencePredicate> otherPredicate
Returns
Type Description
ReferencePredicate

And(ReferencePredicate, ReferencePredicate)

Combines two predicates with the and condition. This overload accepts the second predicate as a ReferencePredicate.

Declaration
public static ReferencePredicate And(this ReferencePredicate predicate, ReferencePredicate otherPredicate)
Parameters
Type Name Description
ReferencePredicate predicate
ReferencePredicate otherPredicate
Returns
Type Description
ReferencePredicate