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, net10.0-browserwasm1.0, net10.0-desktop1.0, net9.0, net9.0-browserwasm1.0, net9.0-desktop1.0, net8.0, net8.0-ios17.5, net8.0-maccatalyst17.5, net8.0-macos14.2, net8.0-macos14.5, net8.0-tvos17.2, netstandard2.1, netstandard2.0, net462, net471

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

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>The source IObservable<IChangeSet<TObject, TKey>> to bind to a collection.
destination[IObservableCollection](#The [IObservableCollection](# that will receive the changes.
refreshThreshold = 25intThe number of changes before a reset notification is triggered.

Returns: IObservable> -- An observable which will emit change sets.

Exceptions

TypeCondition
System.ArgumentNullExceptionsource.

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

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>The source IObservable<IChangeSet<TObject, TKey>> to bind to a collection.
destination[IObservableCollection](#The [IObservableCollection](# that will receive the changes.
options[BindingOptions](#The [BindingOptions](# that controls binding behavior.

Returns: IObservable> -- An observable which will emit change sets.

Exceptions

TypeCondition
System.ArgumentNullExceptionsource.

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

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>The source IObservable<IChangeSet<TObject, TKey>> 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> -- An observable which will emit change sets.

Exceptions

TypeCondition
System.ArgumentNullExceptionsource.

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

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>The source IObservable<IChangeSet<TObject, TKey>> to bind to a collection.
out readOnlyObservableCollectionReadOnlyObservableCollectionThe output ReadOnlyObservableCollection that will be populated with the results.
options[BindingOptions](#The [BindingOptions](# that controls binding behavior.

Returns: IObservable> -- An observable which will emit change sets.

Exceptions

TypeCondition
System.ArgumentNullExceptionsource.

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

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>The source IObservable<IChangeSet<TObject, TKey>> to bind to a collection.
out readOnlyObservableCollectionReadOnlyObservableCollectionThe output ReadOnlyObservableCollection that will be populated with the results.
resetThreshold = 25intThe number of changes before a reset notification is triggered.
useReplaceForUpdates = trueboolWhen 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> -- An observable which will emit change sets.

Exceptions

TypeCondition
System.ArgumentNullExceptionsource.

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

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>The source IObservable<ISortedChangeSet<TObject, TKey>> to bind to a collection.
destination[IObservableCollection](#The [IObservableCollection](# that will receive the changes.

Returns: IObservable> -- An observable which will emit change sets.

Exceptions

TypeCondition
System.ArgumentNullExceptionsource.

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

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>The source IObservable<ISortedChangeSet<TObject, TKey>> to bind to a collection.
destination[IObservableCollection](#The [IObservableCollection](# that will receive the changes.
options[BindingOptions](#The [BindingOptions](# that controls binding behavior.

Returns: IObservable> -- An observable which will emit change sets.

Exceptions

TypeCondition
System.ArgumentNullExceptionsource.

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

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>The source IObservable<ISortedChangeSet<TObject, TKey>> 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> -- An observable which will emit change sets.

Exceptions

TypeCondition
System.ArgumentNullExceptionsource.

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

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>The source IObservable<ISortedChangeSet<TObject, TKey>> to bind to a collection.
out readOnlyObservableCollectionReadOnlyObservableCollectionThe output ReadOnlyObservableCollection that will be populated with the results.
options[BindingOptions](#The [BindingOptions](# that controls binding behavior.

Returns: IObservable> -- An observable which will emit change sets.

Exceptions

TypeCondition
System.ArgumentNullExceptionsource.

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

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>The source IObservable<ISortedChangeSet<TObject, TKey>> to bind to a collection.
out readOnlyObservableCollectionReadOnlyObservableCollectionThe output ReadOnlyObservableCollection that will be populated with the results.
resetThreshold = 25intThe number of changes before a reset event is called on the observable collection.
useReplaceForUpdates = trueboolWhen 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> -- An observable which will emit change sets.

Exceptions

TypeCondition
System.ArgumentNullExceptionsource.

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

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>The source IObservable<IChangeSet<TObject, TKey>> to bind to a collection.
bindingListBindingListThe BindingList that will receive the changes.
resetThreshold = 25intThe reset threshold.

Returns: IObservable> -- An observable which will emit change sets.

Exceptions

TypeCondition
System.ArgumentNullExceptionsource 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

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>The source IObservable<ISortedChangeSet<TObject, TKey>> to bind to a collection.
bindingListBindingListThe BindingList that will receive the changes.
resetThreshold = 25intThe reset threshold.

Returns: IObservable> -- An observable which will emit change sets.

Exceptions

TypeCondition
System.ArgumentNullExceptionsource 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

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>>The source IObservable<IChangeSet<TObject, TKey>> to sort and bind.
out readOnlyObservableCollectionReadOnlyObservableCollectionThe output ReadOnlyObservableCollection that will be populated with the sorted results.

Returns: IObservable> -- An observable which will emit change sets.

Remarks

Creates a ReadOnlyObservableCollection 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

Summary: Bind paged data to the specified collection.

Type parameters

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

Parameters

NameTypeDescription
sourceIObservable>>The source IObservable<IChangeSet<TObject, TKey>> to sort and bind.
out readOnlyObservableCollectionReadOnlyObservableCollectionThe output ReadOnlyObservableCollection that will be populated with the sorted results.
options[SortAndBindOptions](#The [SortAndBindOptions](# with default settings.

Returns: IObservable> -- An observable which will emit change sets.

Remarks

Creates a ReadOnlyObservableCollection 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

Summary: Bind paged data to the specified collection.

Type parameters

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

Parameters

NameTypeDescription
sourceIObservable>>The source IObservable<IChangeSet<TObject, TKey>> to sort and bind.
targetListIListThe IList to bind sorted results to.

Returns: IObservable> -- 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

Summary: Bind paged data to the specified collection.

Type parameters

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

Parameters

NameTypeDescription
sourceIObservable>>The source IObservable<IChangeSet<TObject, TKey>> to sort and bind.
targetListIListThe IList to bind sorted results to.
options[SortAndBindOptions](#The [SortAndBindOptions](# with default settings.

Returns: IObservable> -- 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

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>>The source IObservable<IChangeSet<TObject, TKey>> to sort and bind.
out readOnlyObservableCollectionReadOnlyObservableCollectionThe output ReadOnlyObservableCollection that will be populated with the sorted results.

Returns: IObservable> -- An observable which will emit change sets.

Remarks

Creates a ReadOnlyObservableCollection 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

Summary: Bind virtualized data to the specified collection.

Type parameters

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

Parameters

NameTypeDescription
sourceIObservable>>The source IObservable<IChangeSet<TObject, TKey>> to sort and bind.
out readOnlyObservableCollectionReadOnlyObservableCollectionThe output ReadOnlyObservableCollection that will be populated with the sorted results.
options[SortAndBindOptions](#The [SortAndBindOptions](# with default settings.

Returns: IObservable> -- An observable which will emit change sets.

Remarks

Creates a ReadOnlyObservableCollection 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

Summary: Bind virtualized data to the specified collection.

Type parameters

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

Parameters

NameTypeDescription
sourceIObservable>>The source IObservable<IChangeSet<TObject, TKey>> to sort and bind.
targetListIListThe IList to bind sorted results to.

Returns: IObservable> -- 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

Summary: Bind virtualized data to the specified collection.

Type parameters

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

Parameters

NameTypeDescription
sourceIObservable>>The source IObservable<IChangeSet<TObject, TKey>> to sort and bind.
targetListIListThe IList to bind sorted results to.
options[SortAndBindOptions](#The [SortAndBindOptions](# with default settings.

Returns: IObservable> -- An observable which will emit change sets.

Remarks

This overload accepts SortAndBindOptions to control reset threshold behavior.