Edit

Share via


ReadOnlyObservableGroupedCollection<TKey,TValue> Constructors

Definition

Overloads

ReadOnlyObservableGroupedCollection<TKey,TValue>(ObservableGroupedCollection<TKey,TValue>)

Initializes a new instance of the ReadOnlyObservableGroupedCollection<TKey,TValue> class.

ReadOnlyObservableGroupedCollection<TKey,TValue>(IEnumerable<ReadOnlyObservableGroup<TKey,TValue>>)

Initializes a new instance of the ReadOnlyObservableGroupedCollection<TKey,TValue> class.

ReadOnlyObservableGroupedCollection<TKey,TValue>(IEnumerable<IGrouping<TKey,TValue>>)

Initializes a new instance of the ReadOnlyObservableGroupedCollection<TKey,TValue> class.

ReadOnlyObservableGroupedCollection<TKey,TValue>(ObservableGroupedCollection<TKey,TValue>)

Initializes a new instance of the ReadOnlyObservableGroupedCollection<TKey,TValue> class.

public ReadOnlyObservableGroupedCollection (CommunityToolkit.Common.Collections.ObservableGroupedCollection<TKey,TValue> collection);
new CommunityToolkit.Common.Collections.ReadOnlyObservableGroupedCollection<'Key, 'Value> : CommunityToolkit.Common.Collections.ObservableGroupedCollection<'Key, 'Value> -> CommunityToolkit.Common.Collections.ReadOnlyObservableGroupedCollection<'Key, 'Value>
Public Sub New (collection As ObservableGroupedCollection(Of TKey, TValue))

Parameters

collection
ObservableGroupedCollection<TKey,TValue>

The source collection to wrap.

Applies to

ReadOnlyObservableGroupedCollection<TKey,TValue>(IEnumerable<ReadOnlyObservableGroup<TKey,TValue>>)

Initializes a new instance of the ReadOnlyObservableGroupedCollection<TKey,TValue> class.

public ReadOnlyObservableGroupedCollection (System.Collections.Generic.IEnumerable<CommunityToolkit.Common.Collections.ReadOnlyObservableGroup<TKey,TValue>> collection);
new CommunityToolkit.Common.Collections.ReadOnlyObservableGroupedCollection<'Key, 'Value> : seq<CommunityToolkit.Common.Collections.ReadOnlyObservableGroup<'Key, 'Value>> -> CommunityToolkit.Common.Collections.ReadOnlyObservableGroupedCollection<'Key, 'Value>
Public Sub New (collection As IEnumerable(Of ReadOnlyObservableGroup(Of TKey, TValue)))

Parameters

collection
IEnumerable<ReadOnlyObservableGroup<TKey,TValue>>

The initial data to add in the grouped collection.

Applies to

ReadOnlyObservableGroupedCollection<TKey,TValue>(IEnumerable<IGrouping<TKey,TValue>>)

Initializes a new instance of the ReadOnlyObservableGroupedCollection<TKey,TValue> class.

public ReadOnlyObservableGroupedCollection (System.Collections.Generic.IEnumerable<System.Linq.IGrouping<TKey,TValue>> collection);
new CommunityToolkit.Common.Collections.ReadOnlyObservableGroupedCollection<'Key, 'Value> : seq<System.Linq.IGrouping<'Key, 'Value>> -> CommunityToolkit.Common.Collections.ReadOnlyObservableGroupedCollection<'Key, 'Value>
Public Sub New (collection As IEnumerable(Of IGrouping(Of TKey, TValue)))

Parameters

collection
IEnumerable<IGrouping<TKey,TValue>>

The initial data to add in the grouped collection.

Applies to