Open sandboxFocus

Class ReferenceEndPredicate

A ReferencePredicate that relies on a single ReferenceEnd (referencing or referenced).

Inheritance
ReferenceEndPredicate
Namespace: Metalama.Extensions.Architecture.Predicates
Assembly: Metalama.Extensions.Architecture.dll
Syntax
public abstract class ReferenceEndPredicate : ReferencePredicate, ICompileTimeSerializable

Constructors

Name Description
ReferenceEndPredicate(ReferencePredicateBuilder)

Properties

Name Description
ValidatedRole

Gets the role of the ReferenceEnd being validated.

Methods

Name Description
IsMatch(ReferenceEnd)

Gets a value indicating whether the predicate matches the given ReferenceEnd.

IsMatchCore(ReferenceValidationContext)

Gets a value indicating whether the current predicate matches the given ReferenceValidationContext, ignoring any modifier such as And, Or or Not.

Extension Methods