Skip to content

})} })} )} )}

Reactive2DList() constructor

Defined in

Type: Reactive2DList Namespace: ReactiveList.Reactive.Collections Assembly: ReactiveList.Reactive.dll

Applies to

net11.0, net10.0, net47, net471, net472, net48, net481

Overloads

  1. public Reactive2DList()

  2. public Reactive2DList(IEnumerable<IEnumerable<T>> items)

  3. public Reactive2DList(IEnumerable<ReactiveList<T>> items)

  4. public Reactive2DList(IEnumerable<T> items)

  5. public Reactive2DList(ReactiveList<T> item)

  6. public Reactive2DList(T item)

1. Overload

public Reactive2DList()

View source (opens in a new tab)

Summary: Initializes a new instance of the Reactive2DList class.

2. Overload

public Reactive2DList(IEnumerable<IEnumerable<T>> items)

View source (opens in a new tab)

Summary: Initializes a new instance of the Reactive2DList class with the specified collection of item sequences.

Parameters

NameTypeDescription
itemsIEnumerable> (opens in a new tab)A collection of sequences, where each inner sequence represents the items for a row in the two-dimensional list.

Exceptions

TypeCondition
System.ArgumentNullException (opens in a new tab)Thrown if items is null.

3. Overload

public Reactive2DList(IEnumerable<ReactiveList<T>> items)

View source (opens in a new tab)

Summary: Initializes a new instance of the Reactive2DList class with the specified collection of ReactiveList items.

Parameters

NameTypeDescription
itemsIEnumerable> (opens in a new tab)The collection of ReactiveList instances to include in the two-dimensional list. Cannot be null.

4. Overload

public Reactive2DList(IEnumerable<T> items)

View source (opens in a new tab)

Summary: Initializes a new instance of the Reactive2DList class with the specified collection of items.

Parameters

NameTypeDescription
itemsIEnumerable (opens in a new tab)The collection of items to initialize the list with. Each item will be wrapped in a ReactiveList.

Exceptions

TypeCondition
System.ArgumentNullException (opens in a new tab)Thrown if items is null.

5. Overload

public Reactive2DList(ReactiveList<T> item)

View source (opens in a new tab)

Summary: Initializes a new instance of the Reactive2DList class containing a single row initialized with the specified reactive list.

Parameters

NameTypeDescription
itemReactiveListThe reactive list to use as the initial row of the two-dimensional list. Cannot be null.

Exceptions

TypeCondition
System.ArgumentNullException (opens in a new tab)Thrown if item is null.

6. Overload

public Reactive2DList(T item)

View source (opens in a new tab)

Summary: Initializes a new instance of the Reactive2DList class containing a single item.

Parameters

NameTypeDescription
itemTThe item to include as the initial element in the list.