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

ReferencePredicate Constructor

ReferencePredicate()

Initializes a new instance of the ReferencePredicate class.

Declaration
protected ReferencePredicate()
Remarks

If you are implementing this class and want your implementation to be usable from the predicate fluent API, call the second constructor overload and pass the ReferencePredicateBuilder.

ReferencePredicate(ReferencePredicateBuilder)

Initializes a new instance of the ReferencePredicate class and provides a ReferencePredicateBuilder.

Declaration
protected ReferencePredicate(ReferencePredicateBuilder builder)
Parameters
Type Name Description
ReferencePredicateBuilder builder

The ReferencePredicateBuilder from which the predicate was built, or null. Setting this parameter allows the new object to use used in fluent expressions like Or(ReferencePredicate, Func<ReferencePredicateBuilder, ReferencePredicate>).