Open sandboxFocus

Method Namespace

Namespace(ReferencePredicateBuilder, string)

Accepts code references contained in a given namespace.

Declaration
public static ReferencePredicate Namespace(this ReferencePredicateBuilder builder, string ns)
Parameters
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).

Returns
Type Description
ReferencePredicate

Namespace(ReferencePredicateBuilder, INamespace)

Declaration
public static ReferencePredicate Namespace(this ReferencePredicateBuilder builder, INamespace ns)
Parameters
Type Name Description
ReferencePredicateBuilder builder
INamespace ns
Returns
Type Description
ReferencePredicate