NDepend.API Documentation
WithSimpleName<TCodeElement> Method
NDepend.CodeModel Namespace > ExtensionMethodsNaming Class : WithSimpleName<TCodeElement> Method
This sequence of methods objects.
The method simple name string.
Returns a sub-sequence of this sequence seq, containing only code elements with ICodeElement.SimpleName equals case sensitive to simpleName .
Syntax
[Extension()]
public static IEnumerable<TCodeElement> WithSimpleName<TCodeElement>( 
   IEnumerable<TCodeElement> seq,
   string simpleName
)
where TCodeElement: class, ICodeElement

Parameters

seq
This sequence of methods objects.
simpleName
The method simple name string.

Type Parameters

TCodeElement
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
WithSimpleNameIn<TCodeElement> Method
WithSimpleNameNotIn<TCodeElement> Method
WithSimpleNameLike<TCodeElement> Method
WithSimpleNameWildcardMatch<TCodeElement> Method
WithSimpleNameWildcardMatchIn<TCodeElement> Method
WithSimpleNameWildcardMatchNotIn<TCodeElement> Method