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

Parameters

fields
This sequence of fields.
fieldType
The field type of all fields in the returned sequence.
Remarks
This extension method has a O(fields.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
WithFieldTypeIn Method
FieldTypeIs Method