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

ReferencePredicateExtensions.Namespace Method

Namespace(ReferencePredicateBuilder, String)

Accepts code references contained in a given namespace.

public static ReferencePredicate Namespace(this ReferencePredicateBuilder builder, string ns)
Type Name Description
ReferencePredicateBuilder builder

The ReferencePredicateBuilder.

String ns

The namespace. The namespace string can contain one of the following patterns: (matches any identifier character, but not the dot), .. (matches any sub-namespace in the middle of a namespace), . (matches any sub-namespace at the beginning of a namespace) or .* (matches any sub-namespace at the end of a namespace -- this pattern is allowed but redundant).

Type Description