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

Parameters

list
A list object.

Type Parameters

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

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

See Also

Reference

ExtensionMethodsEnumerable Class
ExtensionMethodsEnumerable Members