Method ToReadOnlyList
- Namespace
- DotNetBrowser.Js.Collections
- Assembly
- DotNetBrowser.dll
ToReadOnlyList()
Copies the contents of the IJsArray to a new IReadOnlyList<T>.
IReadOnlyList<object> ToReadOnlyList()
Returns
- IReadOnlyList<object>
A IReadOnlyList<T> that contains elements from the IJsArray.
Remarks
Proxy objects are mapped to the corresponding injected .NET objects.
Exceptions
- ObjectDisposedException
The IJsArray has already been disposed.
ToReadOnlyList<T>()
Copies the contents of the IJsArray to a new IReadOnlyList<T>.
IReadOnlyList<T> ToReadOnlyList<T>()
Returns
- IReadOnlyList<T>
A IReadOnlyList<T> that contains elements from the IJsArray.
Type Parameters
T
Remarks
Proxy objects are mapped to the corresponding injected .NET objects.
Exceptions
- ObjectDisposedException
The IJsArray has already been disposed.