NDepend.API Documentation
WithSimpleNameWildcardMatch<TCodeElement> Method
NDepend.CodeModel Namespace > ExtensionMethodsNaming Class : WithSimpleNameWildcardMatch<TCodeElement> Method
This sequence of methods objects.
The wildcard pattern string.
Returns a sub-sequence of this sequence seq, containing only code elements with ICodeElement.SimpleName matching the wildcard pattern string simpleNameWildcardPattern.
Syntax
[Extension()]
public static IEnumerable<TCodeElement> WithSimpleNameWildcardMatch<TCodeElement>( 
   IEnumerable<TCodeElement> seq,
   string simpleNameWildcardPattern
)
where TCodeElement: class, ICodeElement

Parameters

seq
This sequence of methods objects.
simpleNameWildcardPattern
The wildcard pattern string.

Type Parameters

TCodeElement
Remarks
The string simpleNameWildcardPattern can contain wildcard '*' characters.
Hence, if the string simpleNameWildcardPattern is equal to "*", it means match all.
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
WithSimpleName<TCodeElement> Method
WithSimpleNameIn<TCodeElement> Method
WithSimpleNameNotIn<TCodeElement> Method
WithSimpleNameLike<TCodeElement> Method
WithSimpleNameWildcardMatchIn<TCodeElement> Method
WithSimpleNameWildcardMatchNotIn<TCodeElement> Method