NDepend.API Documentation
WithSimpleNameWildcardMatchIn<TCodeElement> Method
NDepend.CodeModel Namespace > ExtensionMethodsNaming Class : WithSimpleNameWildcardMatchIn<TCodeElement> Method
This sequence of methods objects.
A wildcard pattern string.
An array of wildcard pattern strings.
Returns a sub-sequence of this sequence seq, containing only code elements with ICodeElement.SimpleName matching any wildcard pattern string in simpleNameWildcardPattern0 union simpleNameWildcardPatterns.
Syntax
[Extension()]
public static IEnumerable<TCodeElement> WithSimpleNameWildcardMatchIn<TCodeElement>( 
   IEnumerable<TCodeElement> seq,
   string simpleNameWildcardPattern0,
   params string[] simpleNameWildcardPatterns
)
where TCodeElement: class, ICodeElement

Parameters

seq
This sequence of methods objects.
simpleNameWildcardPattern0
A wildcard pattern string.
simpleNameWildcardPatterns
An array of wildcard pattern strings.

Type Parameters

TCodeElement
Exceptions
ExceptionDescription
simpleNameWildcardPatterns must not contain a null string.
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
WithSimpleNameWildcardMatch<TCodeElement> Method
WithSimpleNameWildcardMatchNotIn<TCodeElement> Method