Skip to content

JSCollectionExtensions class

C#
public static class JSCollectionExtensions

Public Members

namedescription
static AsAsyncEnumerable<T>(…)Creates an async enumerable adapter for a JS async-iterable object, without copying.
static AsCollection<T>(…)Creates a collection adapter for a JS Array object, without copying. (2 methods)
static AsDictionary<TValue>(…)Creates a dictionary adapter for properties of a JS object, without copying.
static AsDictionary<TKey,TValue>(…)Creates a dictionary adapter for a JS Map object, without copying.
static AsEnumerable<T>(…)Creates an enumerable adapter for a JS iterable object, without copying. (3 methods)
static AsList<T>(…)Creates a list adapter for a JS Array object, without copying.
static AsReadOnlyCollection<T>(…)Creates a read-only collection adapter for a JS Array object, without copying. (2 methods)
static AsReadOnlyDictionary<TValue>(…)Creates a read-only dictionary adapter for properties of a JS object, without copying.
static AsReadOnlyDictionary<TKey,TValue>(…)Creates a read-only dictionary adapter for a JS Map object, without copying.
static AsReadOnlyList<T>(…)Creates a read-only list adapter for a JS Array object, without copying.
static AsReadOnlySet<T>(…)Creates a read-only set adapter for a JS Set object, without copying.
static AsSet<T>(…)Creates a set adapter for a JS Set object, without copying.

See Also

Released under the MIT license