NDepend.API Documentation
ToReadOnlyClonedList<T> Method
NDepend.Helpers Namespace > ExtensionMethodsEnumerable Class : ToReadOnlyClonedList<T> Method
The type parameter of the items in the list.
A list object.
Creates a IReadOnlyCollection cloned collection around sequence.
Syntax
[Extension()]
public static IReadOnlyList<T> ToReadOnlyClonedList<T>( 
   IEnumerable<T> sequence
)

Parameters

sequence
A list object.

Type Parameters

T
The type parameter of the items in the list.
Requirements

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

See Also

Reference

ExtensionMethodsEnumerable Class
ExtensionMethodsEnumerable Members