Skip to content

,System.Func{--0,System.IObservable{System.Reactive.Unit}},ReactiveUI.Reactive.AutoPersistHelperMixins.AutoPersistMetadata)} ,System.Func{--0,System.IObservable{System.Reactive.Unit}},ReactiveUI.Reactive.AutoPersistHelperMixins.AutoPersistMetadata,System.Nullable{System.TimeSpan})} ,System.Func{--0,System.IObservable{System.Reactive.Unit}},System.IObservable{--1},ReactiveUI.Reactive.AutoPersistHelperMixins.AutoPersistMetadata)} ,System.Func{--0,System.IObservable{System.Reactive.Unit}},System.IObservable{--1},ReactiveUI.Reactive.AutoPersistHelperMixins.AutoPersistMetadata,System.Nullable{System.TimeSpan})} ,System.Func{--0,System.IObservable{System.Reactive.Unit}},System.IObservable{--1},ReactiveUI.Reactive.AutoPersistHelperMixins.AutoPersistMetadata)} ,System.Func{--0,System.IObservable{System.Reactive.Unit}},System.IObservable{--1},ReactiveUI.Reactive.AutoPersistHelperMixins.AutoPersistMetadata,System.Nullable{System.TimeSpan})} },System.IObservable{--2},ReactiveUI.Reactive.AutoPersistHelperMixins.AutoPersistMetadata)} },System.IObservable{--2},ReactiveUI.Reactive.AutoPersistHelperMixins.AutoPersistMetadata,System.Nullable{System.TimeSpan})} },System.IObservable{--2},System.Func{--0,ReactiveUI.Reactive.AutoPersistHelperMixins.AutoPersistMetadata})} },System.IObservable{--2},System.Func{--0,ReactiveUI.Reactive.AutoPersistHelperMixins.AutoPersistMetadata},System.Nullable{System.TimeSpan})}

AutoPersistHelperMixins.AutoPersistCollection(ObservableCollection, Func>, AutoPersistMetadata) method

Defined in

Type: AutoPersistHelperMixins Namespace: ReactiveUI.Reactive Assembly: ReactiveUI.Reactive.dll

Applies to

net11.0, net11.0-maccatalyst27.2, net11.0-tvos27.2, net11.0-macos27.2, net11.0-android37.0, net11.0-ios27.2, net10.0, net10.0-tvos26.0, net10.0-ios26.0, net10.0-maccatalyst26.0, net10.0-android36.0, net10.0-macos26.0, net481, net47, net471, net472, net48

Overloads

  1. public static IDisposable AutoPersistCollection<TItem>(this ObservableCollection<TItem> @this, Func<TItem, IObservable<Unit>> doPersist, AutoPersistHelperMixins.AutoPersistMetadata metadata) where TItem : notnull, IReactiveObject

  2. public static IDisposable AutoPersistCollection<TItem>(this ObservableCollection<TItem> @this, Func<TItem, IObservable<Unit>> doPersist, AutoPersistHelperMixins.AutoPersistMetadata metadata, TimeSpan? interval) where TItem : notnull, IReactiveObject

  3. public static IDisposable AutoPersistCollection<TItem, TDontCare>(this ObservableCollection<TItem> @this, Func<TItem, IObservable<Unit>> doPersist, IObservable<TDontCare> manualSaveSignal, AutoPersistHelperMixins.AutoPersistMetadata metadata) where TItem : notnull, IReactiveObject where TDontCare : notnull

  4. public static IDisposable AutoPersistCollection<TItem, TDontCare>(this ObservableCollection<TItem> @this, Func<TItem, IObservable<Unit>> doPersist, IObservable<TDontCare> manualSaveSignal, AutoPersistHelperMixins.AutoPersistMetadata metadata, TimeSpan? interval) where TItem : notnull, IReactiveObject where TDontCare : notnull

  5. public static IDisposable AutoPersistCollection<TItem, TDontCare>(this ReadOnlyObservableCollection<TItem> @this, Func<TItem, IObservable<Unit>> doPersist, IObservable<TDontCare> manualSaveSignal, AutoPersistHelperMixins.AutoPersistMetadata metadata) where TItem : notnull, IReactiveObject where TDontCare : notnull

  6. public static IDisposable AutoPersistCollection<TItem, TDontCare>(this ReadOnlyObservableCollection<TItem> @this, Func<TItem, IObservable<Unit>> doPersist, IObservable<TDontCare> manualSaveSignal, AutoPersistHelperMixins.AutoPersistMetadata metadata, TimeSpan? interval) where TItem : notnull, IReactiveObject where TDontCare : notnull

  7. public static IDisposable AutoPersistCollection<TItem, TCollection, TDontCare>(this TCollection @this, Func<TItem, IObservable<Unit>> doPersist, IObservable<TDontCare> manualSaveSignal, AutoPersistHelperMixins.AutoPersistMetadata metadata) where TItem : notnull, IReactiveObject where TCollection : notnull, INotifyCollectionChanged, IEnumerable<TItem> where TDontCare : notnull

  8. public static IDisposable AutoPersistCollection<TItem, TCollection, TDontCare>(this TCollection @this, Func<TItem, IObservable<Unit>> doPersist, IObservable<TDontCare> manualSaveSignal, AutoPersistHelperMixins.AutoPersistMetadata metadata, TimeSpan? interval) where TItem : notnull, IReactiveObject where TCollection : notnull, INotifyCollectionChanged, IEnumerable<TItem> where TDontCare : notnull

  9. public static IDisposable AutoPersistCollection<TItem, TCollection, TDontCare>(this TCollection @this, Func<TItem, IObservable<Unit>> doPersist, IObservable<TDontCare> manualSaveSignal, Func<TItem, AutoPersistHelperMixins.AutoPersistMetadata> metadataProvider) where TItem : notnull, IReactiveObject where TCollection : notnull, INotifyCollectionChanged, IEnumerable<TItem> where TDontCare : notnull

  10. public static IDisposable AutoPersistCollection<TItem, TCollection, TDontCare>(this TCollection @this, Func<TItem, IObservable<Unit>> doPersist, IObservable<TDontCare> manualSaveSignal, Func<TItem, AutoPersistHelperMixins.AutoPersistMetadata> metadataProvider, TimeSpan? interval) where TItem : notnull, IReactiveObject where TCollection : notnull, INotifyCollectionChanged, IEnumerable<TItem> where TDontCare : notnull

1. Overload

public static IDisposable AutoPersistCollection<TItem>(this ObservableCollection<TItem> @this, Func<TItem, IObservable<Unit>> doPersist, AutoPersistHelperMixins.AutoPersistMetadata metadata) where TItem : notnull, IReactiveObject

View source

Type parameters

NameDescription
TItem--

Parameters

NameTypeDescription
thisObservableCollection--
doPersistFunc>--
metadata[AutoPersistMetadata](#--

Returns: IDisposable

2. Overload

public static IDisposable AutoPersistCollection<TItem>(this ObservableCollection<TItem> @this, Func<TItem, IObservable<Unit>> doPersist, AutoPersistHelperMixins.AutoPersistMetadata metadata, TimeSpan? interval) where TItem : notnull, IReactiveObject

View source

Type parameters

NameDescription
TItem--

Parameters

NameTypeDescription
thisObservableCollection--
doPersistFunc>--
metadata[AutoPersistMetadata](#--
intervalTimeSpan?--

Returns: IDisposable

3. Overload

public static IDisposable AutoPersistCollection<TItem, TDontCare>(this ObservableCollection<TItem> @this, Func<TItem, IObservable<Unit>> doPersist, IObservable<TDontCare> manualSaveSignal, AutoPersistHelperMixins.AutoPersistMetadata metadata) where TItem : notnull, IReactiveObject where TDontCare : notnull

View source

Type parameters

NameDescription
TItem--
TDontCare--

Parameters

NameTypeDescription
thisObservableCollection--
doPersistFunc>--
manualSaveSignalIObservable--
metadata[AutoPersistMetadata](#--

Returns: IDisposable

4. Overload

public static IDisposable AutoPersistCollection<TItem, TDontCare>(this ObservableCollection<TItem> @this, Func<TItem, IObservable<Unit>> doPersist, IObservable<TDontCare> manualSaveSignal, AutoPersistHelperMixins.AutoPersistMetadata metadata, TimeSpan? interval) where TItem : notnull, IReactiveObject where TDontCare : notnull

View source

Type parameters

NameDescription
TItem--
TDontCare--

Parameters

NameTypeDescription
thisObservableCollection--
doPersistFunc>--
manualSaveSignalIObservable--
metadata[AutoPersistMetadata](#--
intervalTimeSpan?--

Returns: IDisposable

5. Overload

public static IDisposable AutoPersistCollection<TItem, TDontCare>(this ReadOnlyObservableCollection<TItem> @this, Func<TItem, IObservable<Unit>> doPersist, IObservable<TDontCare> manualSaveSignal, AutoPersistHelperMixins.AutoPersistMetadata metadata) where TItem : notnull, IReactiveObject where TDontCare : notnull

View source

Type parameters

NameDescription
TItem--
TDontCare--

Parameters

NameTypeDescription
thisReadOnlyObservableCollection--
doPersistFunc>--
manualSaveSignalIObservable--
metadata[AutoPersistMetadata](#--

Returns: IDisposable

6. Overload

public static IDisposable AutoPersistCollection<TItem, TDontCare>(this ReadOnlyObservableCollection<TItem> @this, Func<TItem, IObservable<Unit>> doPersist, IObservable<TDontCare> manualSaveSignal, AutoPersistHelperMixins.AutoPersistMetadata metadata, TimeSpan? interval) where TItem : notnull, IReactiveObject where TDontCare : notnull

View source

Type parameters

NameDescription
TItem--
TDontCare--

Parameters

NameTypeDescription
thisReadOnlyObservableCollection--
doPersistFunc>--
manualSaveSignalIObservable--
metadata[AutoPersistMetadata](#--
intervalTimeSpan?--

Returns: IDisposable

7. Overload

public static IDisposable AutoPersistCollection<TItem, TCollection, TDontCare>(this TCollection @this, Func<TItem, IObservable<Unit>> doPersist, IObservable<TDontCare> manualSaveSignal, AutoPersistHelperMixins.AutoPersistMetadata metadata) where TItem : notnull, IReactiveObject where TCollection : notnull, INotifyCollectionChanged, IEnumerable<TItem> where TDontCare : notnull

View source

Type parameters

NameDescription
TItem--
TCollection--
TDontCare--

Parameters

NameTypeDescription
thisTCollection--
doPersistFunc>--
manualSaveSignalIObservable--
metadata[AutoPersistMetadata](#--

Returns: IDisposable

8. Overload

public static IDisposable AutoPersistCollection<TItem, TCollection, TDontCare>(this TCollection @this, Func<TItem, IObservable<Unit>> doPersist, IObservable<TDontCare> manualSaveSignal, AutoPersistHelperMixins.AutoPersistMetadata metadata, TimeSpan? interval) where TItem : notnull, IReactiveObject where TCollection : notnull, INotifyCollectionChanged, IEnumerable<TItem> where TDontCare : notnull

View source

Type parameters

NameDescription
TItem--
TCollection--
TDontCare--

Parameters

NameTypeDescription
thisTCollection--
doPersistFunc>--
manualSaveSignalIObservable--
metadata[AutoPersistMetadata](#--
intervalTimeSpan?--

Returns: IDisposable

9. Overload

public static IDisposable AutoPersistCollection<TItem, TCollection, TDontCare>(this TCollection @this, Func<TItem, IObservable<Unit>> doPersist, IObservable<TDontCare> manualSaveSignal, Func<TItem, AutoPersistHelperMixins.AutoPersistMetadata> metadataProvider) where TItem : notnull, IReactiveObject where TCollection : notnull, INotifyCollectionChanged, IEnumerable<TItem> where TDontCare : notnull

View source

Type parameters

NameDescription
TItem--
TCollection--
TDontCare--

Parameters

NameTypeDescription
thisTCollection--
doPersistFunc>--
manualSaveSignalIObservable--
metadataProviderFunc--

Returns: IDisposable

10. Overload

public static IDisposable AutoPersistCollection<TItem, TCollection, TDontCare>(this TCollection @this, Func<TItem, IObservable<Unit>> doPersist, IObservable<TDontCare> manualSaveSignal, Func<TItem, AutoPersistHelperMixins.AutoPersistMetadata> metadataProvider, TimeSpan? interval) where TItem : notnull, IReactiveObject where TCollection : notnull, INotifyCollectionChanged, IEnumerable<TItem> where TDontCare : notnull

View source

Type parameters

NameDescription
TItem--
TCollection--
TDontCare--

Parameters

NameTypeDescription
thisTCollection--
doPersistFunc>--
manualSaveSignalIObservable--
metadataProviderFunc--
intervalTimeSpan?--

Returns: IDisposable