Open sandboxFocus

Method Or

Or(ReferencePredicate, Func<ReferencePredicateBuilder, ReferencePredicate>)

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

Declaration
[Obsolete("Use the overload parameterless method overload.")]
public static ReferencePredicate Or(this ReferencePredicate predicate, Func<ReferencePredicateBuilder, ReferencePredicate> otherPredicate)
Parameters
Type Name Description
ReferencePredicate predicate
Func<ReferencePredicateBuilder, ReferencePredicate> otherPredicate
Returns
Type Description
ReferencePredicate

Or(ReferencePredicate)

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

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