NDepend.API Documentation
WithFieldTypeIn Method
NDepend.CodeModel Namespace > ExtensionMethodsSequenceUsage Class : WithFieldTypeIn Method
This sequence of fields.
The sequence of field types of fields in the returned sequence.
Returns a sub-sequence of this sequence fields, containing only fields that have any type in fieldTypes for field type.
Syntax

Parameters

fields
This sequence of fields.
fieldTypes
The sequence of field types of fields in the returned sequence.
Remarks
This extension method has a O(fields.Count + fieldTypes.Count) time complexity.
Requirements

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

See Also

Reference

ExtensionMethodsSequenceUsage Class
ExtensionMethodsSequenceUsage Members
WithFieldType Method
FieldTypeIs Method