Skip to content

},DynamicData.Binding.IObservableCollection{--0},System.Int32)} },DynamicData.Binding.IObservableCollection{--0},DynamicData.Binding.BindingOptions)} },DynamicData.Binding.IObservableCollection{--0},DynamicData.Binding.IObservableCollectionAdaptor{--0,--1})} },System.Collections.ObjectModel.ReadOnlyObservableCollection{--0}@,DynamicData.Binding.BindingOptions)} },System.Collections.ObjectModel.ReadOnlyObservableCollection{--0}@,System.Int32,System.Boolean,DynamicData.Binding.IObservableCollectionAdaptor{--0,--1})} },DynamicData.Binding.IObservableCollection{--0})} },DynamicData.Binding.IObservableCollection{--0},DynamicData.Binding.BindingOptions)} },DynamicData.Binding.IObservableCollection{--0},DynamicData.Binding.ISortedObservableCollectionAdaptor{--0,--1})} },System.Collections.ObjectModel.ReadOnlyObservableCollection{--0}@,DynamicData.Binding.BindingOptions)} },System.Collections.ObjectModel.ReadOnlyObservableCollection{--0}@,System.Int32,System.Boolean,DynamicData.Binding.ISortedObservableCollectionAdaptor{--0,--1})} },System.ComponentModel.BindingList{--0},System.Int32)} },System.ComponentModel.BindingList{--0},System.Int32)} }},System.Collections.ObjectModel.ReadOnlyObservableCollection{--0}@)} }},System.Collections.ObjectModel.ReadOnlyObservableCollection{--0}@,DynamicData.Binding.SortAndBindOptions)} }},System.Collections.Generic.IList{--0})} }},System.Collections.Generic.IList{--0},DynamicData.Binding.SortAndBindOptions)} }},System.Collections.ObjectModel.ReadOnlyObservableCollection{--0}@)} }},System.Collections.ObjectModel.ReadOnlyObservableCollection{--0}@,DynamicData.Binding.SortAndBindOptions)} }},System.Collections.Generic.IList{--0})} }},System.Collections.Generic.IList{--0},DynamicData.Binding.SortAndBindOptions)}

ObservableCacheEx.Bind(IObservable>, IObservableCollection, int) method

Defined in

Type: ObservableCacheEx Namespace: DynamicData Assembly: DynamicData.dll

Applies to

net10.0, netstandard2.0

Overloads

  1. public static IObservable<IChangeSet<TObject, TKey>> Bind<TObject, TKey>(this IObservable<IChangeSet<TObject, TKey>> source, IObservableCollection<TObject> destination, int refreshThreshold = 25) where TObject : notnull where TKey : notnull

  2. public static IObservable<IChangeSet<TObject, TKey>> Bind<TObject, TKey>(this IObservable<IChangeSet<TObject, TKey>> source, IObservableCollection<TObject> destination, BindingOptions options) where TObject : notnull where TKey : notnull

  3. public static IObservable<IChangeSet<TObject, TKey>> Bind<TObject, TKey>(this IObservable<IChangeSet<TObject, TKey>> source, IObservableCollection<TObject> destination, IObservableCollectionAdaptor<TObject, TKey> updater) where TObject : notnull where TKey : notnull

  4. public static IObservable<IChangeSet<TObject, TKey>> Bind<TObject, TKey>(this IObservable<IChangeSet<TObject, TKey>> source, out ReadOnlyObservableCollection<TObject> readOnlyObservableCollection, BindingOptions options) where TObject : notnull where TKey : notnull

  5. public static IObservable<IChangeSet<TObject, TKey>> Bind<TObject, TKey>(this IObservable<IChangeSet<TObject, TKey>> source, out ReadOnlyObservableCollection<TObject> readOnlyObservableCollection, int resetThreshold = 25, bool useReplaceForUpdates = true, IObservableCollectionAdaptor<TObject, TKey>? adaptor = null) where TObject : notnull where TKey : notnull

  6. public static IObservable<ISortedChangeSet<TObject, TKey>> Bind<TObject, TKey>(this IObservable<ISortedChangeSet<TObject, TKey>> source, IObservableCollection<TObject> destination) where TObject : notnull where TKey : notnull

  7. public static IObservable<ISortedChangeSet<TObject, TKey>> Bind<TObject, TKey>(this IObservable<ISortedChangeSet<TObject, TKey>> source, IObservableCollection<TObject> destination, BindingOptions options) where TObject : notnull where TKey : notnull

  8. public static IObservable<ISortedChangeSet<TObject, TKey>> Bind<TObject, TKey>(this IObservable<ISortedChangeSet<TObject, TKey>> source, IObservableCollection<TObject> destination, ISortedObservableCollectionAdaptor<TObject, TKey> updater) where TObject : notnull where TKey : notnull

  9. public static IObservable<IChangeSet<TObject, TKey>> Bind<TObject, TKey>(this IObservable<ISortedChangeSet<TObject, TKey>> source, out ReadOnlyObservableCollection<TObject> readOnlyObservableCollection, BindingOptions options) where TObject : notnull where TKey : notnull

  10. public static IObservable<IChangeSet<TObject, TKey>> Bind<TObject, TKey>(this IObservable<ISortedChangeSet<TObject, TKey>> source, out ReadOnlyObservableCollection<TObject> readOnlyObservableCollection, int resetThreshold = 25, bool useReplaceForUpdates = true, ISortedObservableCollectionAdaptor<TObject, TKey>? adaptor = null) where TObject : notnull where TKey : notnull

  11. public static IObservable<IChangeSet<TObject, TKey>> Bind<TObject, TKey>(this IObservable<IChangeSet<TObject, TKey>> source, BindingList<TObject> bindingList, int resetThreshold = 25) where TObject : notnull where TKey : notnull

  12. public static IObservable<IChangeSet<TObject, TKey>> Bind<TObject, TKey>(this IObservable<ISortedChangeSet<TObject, TKey>> source, BindingList<TObject> bindingList, int resetThreshold = 25) where TObject : notnull where TKey : notnull

  13. public static IObservable<IChangeSet<TObject, TKey>> Bind<TObject, TKey>(this IObservable<IChangeSet<TObject, TKey, PageContext<TObject>>> source, out ReadOnlyObservableCollection<TObject> readOnlyObservableCollection) where TObject : notnull where TKey : notnull

  14. public static IObservable<IChangeSet<TObject, TKey>> Bind<TObject, TKey>(this IObservable<IChangeSet<TObject, TKey, PageContext<TObject>>> source, out ReadOnlyObservableCollection<TObject> readOnlyObservableCollection, SortAndBindOptions options) where TObject : notnull where TKey : notnull

  15. public static IObservable<IChangeSet<TObject, TKey>> Bind<TObject, TKey>(this IObservable<IChangeSet<TObject, TKey, PageContext<TObject>>> source, IList<TObject> targetList) where TObject : notnull where TKey : notnull

  16. public static IObservable<IChangeSet<TObject, TKey>> Bind<TObject, TKey>(this IObservable<IChangeSet<TObject, TKey, PageContext<TObject>>> source, IList<TObject> targetList, SortAndBindOptions options) where TObject : notnull where TKey : notnull

  17. public static IObservable<IChangeSet<TObject, TKey>> Bind<TObject, TKey>(this IObservable<IChangeSet<TObject, TKey, VirtualContext<TObject>>> source, out ReadOnlyObservableCollection<TObject> readOnlyObservableCollection) where TObject : notnull where TKey : notnull

  18. public static IObservable<IChangeSet<TObject, TKey>> Bind<TObject, TKey>(this IObservable<IChangeSet<TObject, TKey, VirtualContext<TObject>>> source, out ReadOnlyObservableCollection<TObject> readOnlyObservableCollection, SortAndBindOptions options) where TObject : notnull where TKey : notnull

  19. public static IObservable<IChangeSet<TObject, TKey>> Bind<TObject, TKey>(this IObservable<IChangeSet<TObject, TKey, VirtualContext<TObject>>> source, IList<TObject> targetList) where TObject : notnull where TKey : notnull

  20. public static IObservable<IChangeSet<TObject, TKey>> Bind<TObject, TKey>(this IObservable<IChangeSet<TObject, TKey, VirtualContext<TObject>>> source, IList<TObject> targetList, SortAndBindOptions options) where TObject : notnull where TKey : notnull

1. Overload

public static IObservable<IChangeSet<TObject, TKey>> Bind<TObject, TKey>(this IObservable<IChangeSet<TObject, TKey>> source, IObservableCollection<TObject> destination, int refreshThreshold = 25) where TObject : notnull where TKey : notnull

View source (opens in a new tab)

Summary: Binds the results to the specified observable collection using the default update algorithm.

Type parameters

NameDescription
TObjectThe type of the object.
TKeyThe type of the key.

Parameters

NameTypeDescription
sourceIObservable> (opens in a new tab)The source IObservable&lt;IChangeSet&lt;TObject, TKey&gt;&gt; to bind to a collection.
destination[IObservableCollection](#The [IObservableCollection](# that will receive the changes.
refreshThreshold = 25int (opens in a new tab)The number of changes before a reset notification is triggered.

Returns: IObservable> (opens in a new tab) -- An observable which will emit change sets.

Exceptions

TypeCondition
System.ArgumentNullException (opens in a new tab)source.

See also

2. Overload

public static IObservable<IChangeSet<TObject, TKey>> Bind<TObject, TKey>(this IObservable<IChangeSet<TObject, TKey>> source, IObservableCollection<TObject> destination, BindingOptions options) where TObject : notnull where TKey : notnull

View source (opens in a new tab)

Summary: Binds the results to the specified observable collection using the default update algorithm.

Type parameters

NameDescription
TObjectThe type of the object.
TKeyThe type of the key.

Parameters

NameTypeDescription
sourceIObservable> (opens in a new tab)The source IObservable&lt;IChangeSet&lt;TObject, TKey&gt;&gt; to bind to a collection.
destination[IObservableCollection](#The [IObservableCollection](# that will receive the changes.
options[BindingOptions](#The [BindingOptions](# that controls binding behavior.

Returns: IObservable> (opens in a new tab) -- An observable which will emit change sets.

Exceptions

TypeCondition
System.ArgumentNullException (opens in a new tab)source.

3. Overload

public static IObservable<IChangeSet<TObject, TKey>> Bind<TObject, TKey>(this IObservable<IChangeSet<TObject, TKey>> source, IObservableCollection<TObject> destination, IObservableCollectionAdaptor<TObject, TKey> updater) where TObject : notnull where TKey : notnull

View source (opens in a new tab)

Summary: Binds the results to the specified binding collection using the specified update algorithm.

Type parameters

NameDescription
TObjectThe type of the object.
TKeyThe type of the key.

Parameters

NameTypeDescription
sourceIObservable> (opens in a new tab)The source IObservable&lt;IChangeSet&lt;TObject, TKey&gt;&gt; to bind to a collection.
destination[IObservableCollection](#The [IObservableCollection](# that will receive the changes.
updater[IObservableCollectionAdaptor](#The [IObservableCollectionAdaptor](# that applies changes to the bound collection.

Returns: IObservable> (opens in a new tab) -- An observable which will emit change sets.

Exceptions

TypeCondition
System.ArgumentNullException (opens in a new tab)source.

4. Overload

public static IObservable<IChangeSet<TObject, TKey>> Bind<TObject, TKey>(this IObservable<IChangeSet<TObject, TKey>> source, out ReadOnlyObservableCollection<TObject> readOnlyObservableCollection, BindingOptions options) where TObject : notnull where TKey : notnull

View source (opens in a new tab)

Summary: Binds the results to the specified readonly observable collection using the default update algorithm.

Type parameters

NameDescription
TObjectThe type of the object.
TKeyThe type of the key.

Parameters

NameTypeDescription
sourceIObservable> (opens in a new tab)The source IObservable&lt;IChangeSet&lt;TObject, TKey&gt;&gt; to bind to a collection.
out readOnlyObservableCollectionReadOnlyObservableCollection (opens in a new tab)The output ReadOnlyObservableCollection (opens in a new tab) that will be populated with the results.
options[BindingOptions](#The [BindingOptions](# that controls binding behavior.

Returns: IObservable> (opens in a new tab) -- An observable which will emit change sets.

Exceptions

TypeCondition
System.ArgumentNullException (opens in a new tab)source.

5. Overload

public static IObservable<IChangeSet<TObject, TKey>> Bind<TObject, TKey>(this IObservable<IChangeSet<TObject, TKey>> source, out ReadOnlyObservableCollection<TObject> readOnlyObservableCollection, int resetThreshold = 25, bool useReplaceForUpdates = true, IObservableCollectionAdaptor<TObject, TKey>? adaptor = null) where TObject : notnull where TKey : notnull

View source (opens in a new tab)

Summary: Binds the results to the specified readonly observable collection using the default update algorithm.

Type parameters

NameDescription
TObjectThe type of the object.
TKeyThe type of the key.

Parameters

NameTypeDescription
sourceIObservable> (opens in a new tab)The source IObservable&lt;IChangeSet&lt;TObject, TKey&gt;&gt; to bind to a collection.
out readOnlyObservableCollectionReadOnlyObservableCollection (opens in a new tab)The output ReadOnlyObservableCollection (opens in a new tab) that will be populated with the results.
resetThreshold = 25int (opens in a new tab)The number of changes before a reset notification is triggered.
useReplaceForUpdates = truebool (opens in a new tab)When true, uses Replace instead of Remove/Add for updates in the bound collection. Not all platforms support replace notifications.
adaptor = null[IObservableCollectionAdaptor?](#An optional [IObservableCollectionAdaptor](# that controls how the target collection is updated.

Returns: IObservable> (opens in a new tab) -- An observable which will emit change sets.

Exceptions

TypeCondition
System.ArgumentNullException (opens in a new tab)source.

6. Overload

public static IObservable<ISortedChangeSet<TObject, TKey>> Bind<TObject, TKey>(this IObservable<ISortedChangeSet<TObject, TKey>> source, IObservableCollection<TObject> destination) where TObject : notnull where TKey : notnull

View source (opens in a new tab)

Summary: Binds the results to the specified observable collection using the default update algorithm.

Type parameters

NameDescription
TObjectThe type of the object.
TKeyThe type of the key.

Parameters

NameTypeDescription
sourceIObservable> (opens in a new tab)The source IObservable&lt;ISortedChangeSet&lt;TObject, TKey&gt;&gt; to bind to a collection.
destination[IObservableCollection](#The [IObservableCollection](# that will receive the changes.

Returns: IObservable> (opens in a new tab) -- An observable which will emit change sets.

Exceptions

TypeCondition
System.ArgumentNullException (opens in a new tab)source.

7. Overload

public static IObservable<ISortedChangeSet<TObject, TKey>> Bind<TObject, TKey>(this IObservable<ISortedChangeSet<TObject, TKey>> source, IObservableCollection<TObject> destination, BindingOptions options) where TObject : notnull where TKey : notnull

View source (opens in a new tab)

Summary: Binds the results to the specified observable collection using the default update algorithm.

Type parameters

NameDescription
TObjectThe type of the object.
TKeyThe type of the key.

Parameters

NameTypeDescription
sourceIObservable> (opens in a new tab)The source IObservable&lt;ISortedChangeSet&lt;TObject, TKey&gt;&gt; to bind to a collection.
destination[IObservableCollection](#The [IObservableCollection](# that will receive the changes.
options[BindingOptions](#The [BindingOptions](# that controls binding behavior.

Returns: IObservable> (opens in a new tab) -- An observable which will emit change sets.

Exceptions

TypeCondition
System.ArgumentNullException (opens in a new tab)source.

8. Overload

public static IObservable<ISortedChangeSet<TObject, TKey>> Bind<TObject, TKey>(this IObservable<ISortedChangeSet<TObject, TKey>> source, IObservableCollection<TObject> destination, ISortedObservableCollectionAdaptor<TObject, TKey> updater) where TObject : notnull where TKey : notnull

View source (opens in a new tab)

Summary: Binds the results to the specified binding collection using the specified update algorithm.

Type parameters

NameDescription
TObjectThe type of the object.
TKeyThe type of the key.

Parameters

NameTypeDescription
sourceIObservable> (opens in a new tab)The source IObservable&lt;ISortedChangeSet&lt;TObject, TKey&gt;&gt; to bind to a collection.
destination[IObservableCollection](#The [IObservableCollection](# that will receive the changes.
updater[ISortedObservableCollectionAdaptor](#The [ISortedObservableCollectionAdaptor](# that applies changes to the bound collection.

Returns: IObservable> (opens in a new tab) -- An observable which will emit change sets.

Exceptions

TypeCondition
System.ArgumentNullException (opens in a new tab)source.

9. Overload

public static IObservable<IChangeSet<TObject, TKey>> Bind<TObject, TKey>(this IObservable<ISortedChangeSet<TObject, TKey>> source, out ReadOnlyObservableCollection<TObject> readOnlyObservableCollection, BindingOptions options) where TObject : notnull where TKey : notnull

View source (opens in a new tab)

Summary: Binds the results to the specified readonly observable collection using the default update algorithm.

Type parameters

NameDescription
TObjectThe type of the object.
TKeyThe type of the key.

Parameters

NameTypeDescription
sourceIObservable> (opens in a new tab)The source IObservable&lt;ISortedChangeSet&lt;TObject, TKey&gt;&gt; to bind to a collection.
out readOnlyObservableCollectionReadOnlyObservableCollection (opens in a new tab)The output ReadOnlyObservableCollection (opens in a new tab) that will be populated with the results.
options[BindingOptions](#The [BindingOptions](# that controls binding behavior.

Returns: IObservable> (opens in a new tab) -- An observable which will emit change sets.

Exceptions

TypeCondition
System.ArgumentNullException (opens in a new tab)source.

10. Overload

public static IObservable<IChangeSet<TObject, TKey>> Bind<TObject, TKey>(this IObservable<ISortedChangeSet<TObject, TKey>> source, out ReadOnlyObservableCollection<TObject> readOnlyObservableCollection, int resetThreshold = 25, bool useReplaceForUpdates = true, ISortedObservableCollectionAdaptor<TObject, TKey>? adaptor = null) where TObject : notnull where TKey : notnull

View source (opens in a new tab)

Summary: Binds the results to the specified readonly observable collection using the default update algorithm.

Type parameters

NameDescription
TObjectThe type of the object.
TKeyThe type of the key.

Parameters

NameTypeDescription
sourceIObservable> (opens in a new tab)The source IObservable&lt;ISortedChangeSet&lt;TObject, TKey&gt;&gt; to bind to a collection.
out readOnlyObservableCollectionReadOnlyObservableCollection (opens in a new tab)The output ReadOnlyObservableCollection (opens in a new tab) that will be populated with the results.
resetThreshold = 25int (opens in a new tab)The number of changes before a reset event is called on the observable collection.
useReplaceForUpdates = truebool (opens in a new tab)When true, uses Replace instead of Remove/Add for updates in the bound collection. Not all platforms support replace notifications.
adaptor = null[ISortedObservableCollectionAdaptor?](#An [IChangeSetAdaptor](# that specify an adaptor to change the algorithm to update the target collection.

Returns: IObservable> (opens in a new tab) -- An observable which will emit change sets.

Exceptions

TypeCondition
System.ArgumentNullException (opens in a new tab)source.

11. Overload

public static IObservable<IChangeSet<TObject, TKey>> Bind<TObject, TKey>(this IObservable<IChangeSet<TObject, TKey>> source, BindingList<TObject> bindingList, int resetThreshold = 25) where TObject : notnull where TKey : notnull

View source (opens in a new tab)

Summary: Binds a clone of the observable change set to the target observable collection.

Type parameters

NameDescription
TObjectThe object type.
TKeyThe key type.

Parameters

NameTypeDescription
sourceIObservable> (opens in a new tab)The source IObservable&lt;IChangeSet&lt;TObject, TKey&gt;&gt; to bind to a collection.
bindingListBindingList (opens in a new tab)The BindingList (opens in a new tab) that will receive the changes.
resetThreshold = 25int (opens in a new tab)The reset threshold.

Returns: IObservable> (opens in a new tab) -- An observable which will emit change sets.

Exceptions

TypeCondition
System.ArgumentNullException (opens in a new tab)source or targetCollection.

12. Overload

public static IObservable<IChangeSet<TObject, TKey>> Bind<TObject, TKey>(this IObservable<ISortedChangeSet<TObject, TKey>> source, BindingList<TObject> bindingList, int resetThreshold = 25) where TObject : notnull where TKey : notnull

View source (opens in a new tab)

Summary: Binds a clone of the observable change set to the target observable collection.

Type parameters

NameDescription
TObjectThe object type.
TKeyThe key type.

Parameters

NameTypeDescription
sourceIObservable> (opens in a new tab)The source IObservable&lt;ISortedChangeSet&lt;TObject, TKey&gt;&gt; to bind to a collection.
bindingListBindingList (opens in a new tab)The BindingList (opens in a new tab) that will receive the changes.
resetThreshold = 25int (opens in a new tab)The reset threshold.

Returns: IObservable> (opens in a new tab) -- An observable which will emit change sets.

Exceptions

TypeCondition
System.ArgumentNullException (opens in a new tab)source or targetCollection.

13. Overload

public static IObservable<IChangeSet<TObject, TKey>> Bind<TObject, TKey>(this IObservable<IChangeSet<TObject, TKey, PageContext<TObject>>> source, out ReadOnlyObservableCollection<TObject> readOnlyObservableCollection) where TObject : notnull where TKey : notnull

View source (opens in a new tab)

Summary: Bind paged data to the specified readonly observable collection.

Type parameters

NameDescription
TObjectThe type of the object.
TKeyThe type of the key.

Parameters

NameTypeDescription
sourceIObservable>> (opens in a new tab)The source IObservable&lt;IChangeSet&lt;TObject, TKey&gt;&gt; to sort and bind.
out readOnlyObservableCollectionReadOnlyObservableCollection (opens in a new tab)The output ReadOnlyObservableCollection (opens in a new tab) that will be populated with the sorted results.

Returns: IObservable> (opens in a new tab) -- An observable which will emit change sets.

Remarks

Creates a ReadOnlyObservableCollection (opens in a new tab) and delegates to Bind.

14. Overload

public static IObservable<IChangeSet<TObject, TKey>> Bind<TObject, TKey>(this IObservable<IChangeSet<TObject, TKey, PageContext<TObject>>> source, out ReadOnlyObservableCollection<TObject> readOnlyObservableCollection, SortAndBindOptions options) where TObject : notnull where TKey : notnull

View source (opens in a new tab)

Summary: Bind paged data to the specified collection.

Type parameters

NameDescription
TObjectThe type of the object.
TKeyThe type of the key.

Parameters

NameTypeDescription
sourceIObservable>> (opens in a new tab)The source IObservable&lt;IChangeSet&lt;TObject, TKey&gt;&gt; to sort and bind.
out readOnlyObservableCollectionReadOnlyObservableCollection (opens in a new tab)The output ReadOnlyObservableCollection (opens in a new tab) that will be populated with the sorted results.
options[SortAndBindOptions](#The [SortAndBindOptions](# with default settings.

Returns: IObservable> (opens in a new tab) -- An observable which will emit change sets.

Remarks

Creates a ReadOnlyObservableCollection (opens in a new tab) and delegates to Bind.

15. Overload

public static IObservable<IChangeSet<TObject, TKey>> Bind<TObject, TKey>(this IObservable<IChangeSet<TObject, TKey, PageContext<TObject>>> source, IList<TObject> targetList) where TObject : notnull where TKey : notnull

View source (opens in a new tab)

Summary: Bind paged data to the specified collection.

Type parameters

NameDescription
TObjectThe type of the object.
TKeyThe type of the key.

Parameters

NameTypeDescription
sourceIObservable>> (opens in a new tab)The source IObservable&lt;IChangeSet&lt;TObject, TKey&gt;&gt; to sort and bind.
targetListIList (opens in a new tab)The IList (opens in a new tab) to bind sorted results to.

Returns: IObservable> (opens in a new tab) -- An observable which will emit change sets.

Remarks

This is the primary Bind overload for paged data. It applies paged changeset mutations directly to the target list.

16. Overload

public static IObservable<IChangeSet<TObject, TKey>> Bind<TObject, TKey>(this IObservable<IChangeSet<TObject, TKey, PageContext<TObject>>> source, IList<TObject> targetList, SortAndBindOptions options) where TObject : notnull where TKey : notnull

View source (opens in a new tab)

Summary: Bind paged data to the specified collection.

Type parameters

NameDescription
TObjectThe type of the object.
TKeyThe type of the key.

Parameters

NameTypeDescription
sourceIObservable>> (opens in a new tab)The source IObservable&lt;IChangeSet&lt;TObject, TKey&gt;&gt; to sort and bind.
targetListIList (opens in a new tab)The IList (opens in a new tab) to bind sorted results to.
options[SortAndBindOptions](#The [SortAndBindOptions](# with default settings.

Returns: IObservable> (opens in a new tab) -- An observable which will emit change sets.

Remarks

This overload accepts SortAndBindOptions to control reset threshold behavior.

17. Overload

public static IObservable<IChangeSet<TObject, TKey>> Bind<TObject, TKey>(this IObservable<IChangeSet<TObject, TKey, VirtualContext<TObject>>> source, out ReadOnlyObservableCollection<TObject> readOnlyObservableCollection) where TObject : notnull where TKey : notnull

View source (opens in a new tab)

Summary: Bind virtualized and sorted data to the specified readonly observable collection.

Type parameters

NameDescription
TObjectThe type of the object.
TKeyThe type of the key.

Parameters

NameTypeDescription
sourceIObservable>> (opens in a new tab)The source IObservable&lt;IChangeSet&lt;TObject, TKey&gt;&gt; to sort and bind.
out readOnlyObservableCollectionReadOnlyObservableCollection (opens in a new tab)The output ReadOnlyObservableCollection (opens in a new tab) that will be populated with the sorted results.

Returns: IObservable> (opens in a new tab) -- An observable which will emit change sets.

Remarks

Creates a ReadOnlyObservableCollection (opens in a new tab) and delegates to Bind.

18. Overload

public static IObservable<IChangeSet<TObject, TKey>> Bind<TObject, TKey>(this IObservable<IChangeSet<TObject, TKey, VirtualContext<TObject>>> source, out ReadOnlyObservableCollection<TObject> readOnlyObservableCollection, SortAndBindOptions options) where TObject : notnull where TKey : notnull

View source (opens in a new tab)

Summary: Bind virtualized data to the specified collection.

Type parameters

NameDescription
TObjectThe type of the object.
TKeyThe type of the key.

Parameters

NameTypeDescription
sourceIObservable>> (opens in a new tab)The source IObservable&lt;IChangeSet&lt;TObject, TKey&gt;&gt; to sort and bind.
out readOnlyObservableCollectionReadOnlyObservableCollection (opens in a new tab)The output ReadOnlyObservableCollection (opens in a new tab) that will be populated with the sorted results.
options[SortAndBindOptions](#The [SortAndBindOptions](# with default settings.

Returns: IObservable> (opens in a new tab) -- An observable which will emit change sets.

Remarks

Creates a ReadOnlyObservableCollection (opens in a new tab) and delegates to Bind.

19. Overload

public static IObservable<IChangeSet<TObject, TKey>> Bind<TObject, TKey>(this IObservable<IChangeSet<TObject, TKey, VirtualContext<TObject>>> source, IList<TObject> targetList) where TObject : notnull where TKey : notnull

View source (opens in a new tab)

Summary: Bind virtualized data to the specified collection.

Type parameters

NameDescription
TObjectThe type of the object.
TKeyThe type of the key.

Parameters

NameTypeDescription
sourceIObservable>> (opens in a new tab)The source IObservable&lt;IChangeSet&lt;TObject, TKey&gt;&gt; to sort and bind.
targetListIList (opens in a new tab)The IList (opens in a new tab) to bind sorted results to.

Returns: IObservable> (opens in a new tab) -- An observable which will emit change sets.

Remarks

This is the primary Bind overload for virtualized data. It applies virtualized changeset mutations directly to the target list.

20. Overload

public static IObservable<IChangeSet<TObject, TKey>> Bind<TObject, TKey>(this IObservable<IChangeSet<TObject, TKey, VirtualContext<TObject>>> source, IList<TObject> targetList, SortAndBindOptions options) where TObject : notnull where TKey : notnull

View source (opens in a new tab)

Summary: Bind virtualized data to the specified collection.

Type parameters

NameDescription
TObjectThe type of the object.
TKeyThe type of the key.

Parameters

NameTypeDescription
sourceIObservable>> (opens in a new tab)The source IObservable&lt;IChangeSet&lt;TObject, TKey&gt;&gt; to sort and bind.
targetListIList (opens in a new tab)The IList (opens in a new tab) to bind sorted results to.
options[SortAndBindOptions](#The [SortAndBindOptions](# with default settings.

Returns: IObservable> (opens in a new tab) -- An observable which will emit change sets.

Remarks

This overload accepts SortAndBindOptions to control reset threshold behavior.