Metalama 1.0 / / Metalama Documentation / Extensions API / Metalama.​Extensions.​Architecture.​Aspects / Base­Usage­Validation­Attribute / Create­Predicate

Method CreatePredicate

CreatePredicate(INamespace)

Creates a ReferencePredicate based on the current attribute.

Declaration
protected ReferencePredicate CreatePredicate(INamespace currentNamespace)
Parameters
Type Name Description
INamespace currentNamespace

The namespace in which the attribute is used.

Returns
Type Description
ReferencePredicate