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

ReferencePredicateExtensions.Or Method

Or(ReferencePredicate, Func<ReferencePredicateBuilder, ReferencePredicate>)

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

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

Or(ReferencePredicate, ReferencePredicate)

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

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