Open sandboxFocus

Method Type

Type(ReferencePredicateBuilder, Type)

Accepts code references contained in a given type, specified as a reflection Type.

Declaration
public static ReferencePredicate Type(this ReferencePredicateBuilder builder, Type type)
Parameters
Type Name Description
ReferencePredicateBuilder builder
Type type
Returns
Type Description
ReferencePredicate
See Also

Type(ReferencePredicateBuilder, INamedType)

Accepts code references contained in a given type, specified as an INamedType.

Declaration
public static ReferencePredicate Type(this ReferencePredicateBuilder builder, INamedType type)
Parameters
Type Name Description
ReferencePredicateBuilder builder
INamedType type
Returns
Type Description
ReferencePredicate
See Also

Type(ReferencePredicateBuilder, string)

Accepts code references contained in a given type specified as a string, optionally containing wildcards * or **.

Declaration
public static ReferencePredicate Type(this ReferencePredicateBuilder builder, string type)
Parameters
Type Name Description
ReferencePredicateBuilder builder

The ReferencePredicateBuilder.

string type

(matches any identifier character, but not the dot), .. (matches any sub-namespace in the middle of a full type name), . (matches any sub-namespace at the beginning of the full type name) or .** (matches any sub-namespace and any type name at the end of a namespace).

Returns
Type Description
ReferencePredicate