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

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.
destination[IObservableCollection](#The destination.
refreshThreshold = 25intThe number of changes before a reset notification is triggered.

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

Exceptions

TypeCondition
System.ArgumentNullExceptionsource.

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.
destination[IObservableCollection](#The destination.
options[BindingOptions](#The binding options.

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.
destination[IObservableCollection](#The destination.
updater[IObservableCollectionAdaptor](#The updater.

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.
out readOnlyObservableCollectionReadOnlyObservableCollectionThe resulting read only observable collection.
options[BindingOptions](#The binding options.

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.
out readOnlyObservableCollectionReadOnlyObservableCollectionThe resulting read only observable collection.
resetThreshold = 25intThe number of changes before a reset notification is triggered.
useReplaceForUpdates = trueboolUse replace instead of remove / add for updates. NB: Some platforms to not support replace notifications for binding.
adaptor = null[IObservableCollectionAdaptor?](#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.

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.
destination[IObservableCollection](#The destination.

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.
destination[IObservableCollection](#The destination.
options[BindingOptions](#The binding options.

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.
destination[IObservableCollection](#The destination.
updater[ISortedObservableCollectionAdaptor](#The updater.

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.
out readOnlyObservableCollectionReadOnlyObservableCollectionThe resulting read only observable collection.
options[BindingOptions](#The binding options.

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.
out readOnlyObservableCollectionReadOnlyObservableCollectionThe resulting read only observable collection.
resetThreshold = 25intThe number of changes before a reset event is called on the observable collection.
useReplaceForUpdates = trueboolUse replace instead of remove / add for updates. NB: Some platforms to not support replace notifications for binding.
adaptor = null[ISortedObservableCollectionAdaptor?](#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.
bindingListBindingListThe target binding list.
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.
bindingListBindingListThe target binding list.
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.
out readOnlyObservableCollectionReadOnlyObservableCollectionThe resulting read only observable collection.

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

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.
out readOnlyObservableCollectionReadOnlyObservableCollectionThe resulting read only observable collection.
options[SortAndBindOptions](#Bind and sort default options.

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

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.
targetListIListThe list to bind to.

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

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.
targetListIListThe list to bind to.
options[SortAndBindOptions](#Bind and sort default options.

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

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.
out readOnlyObservableCollectionReadOnlyObservableCollectionThe resulting read only observable collection.

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

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.
out readOnlyObservableCollectionReadOnlyObservableCollectionThe resulting read only observable collection.
options[SortAndBindOptions](#Bind and sort default options.

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

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.
targetListIListThe list to bind to.

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

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.
targetListIListThe list to bind to.
options[SortAndBindOptions](#Bind and sort default options.

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