NDepend.API Documentation
WithFullNameLike<TCodeElement> Method
NDepend.CodeModel Namespace > ExtensionMethodsNaming Class : WithFullNameLike<TCodeElement> Method
The code element type that is IMember or that implements IMember.
This sequence of code elements objects.
The regular expression string.
Returns a sub-sequence of this sequence seq, containing only code elements objects with ICodeElement.FullName matching the regular expression regexString.
Syntax
[Extension()]
public static IEnumerable<TCodeElement> WithFullNameLike<TCodeElement>( 
   IEnumerable<TCodeElement> seq,
   string regexString
)
where TCodeElement: class, ICodeElement

Parameters

seq
This sequence of code elements objects.
regexString
The regular expression string.

Type Parameters

TCodeElement
The code element type that is IMember or that implements IMember.
Exceptions
ExceptionDescription
regexString is an invalid regular exception.
Remarks
The regular expression is defined with the System.Text.RegularExpressions syntax.
The regular expression string can be suffixed with "\i" to specify the ignore case option.
Requirements

Target Platforms: Windows 11, 10, 8, 7 and Linux, MacOS with net8.0, net7.0 or net6.0 installed

See Also

Reference

ExtensionMethodsNaming Class
ExtensionMethodsNaming Members
FullName Property
WithFullName<TCodeElement> Method
WithFullNameIn<TCodeElement> Method
WithFullNameNotIn<TCodeElement> Method
WithFullNameWildcardMatch<TCodeElement> Method
WithFullNameWildcardMatchIn<TCodeElement> Method
FullNameLike Method
ToFullNameLikePredicate Method
WithFullNameWildcardMatchNotIn<TCodeElement> Method