AutoPersistHelperMixins class¶
Defined in
Namespace: ReactiveUI.Reactive
Assembly: ReactiveUI.Reactive.dll
Full name: ReactiveUI.Reactive.AutoPersistHelperMixins
Modifiers: public static
Summary¶
Collection AutoPersist members and the persistence metadata/driver engine for AutoPersistHelperMixins.
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
Remarks¶
These live in their own partial declaration (and a distinct extension block) — separate from the
reflection-based overloads in AutoPersistHelperMixins.cs — specifically so their receiver type parameter
does NOT carry the reflection block's DynamicallyAccessedMembersAttribute.
Merging the two blocks would propagate that trimming annotation onto these trim-safe overloads and onto every caller
(IL2091). Keeping them in a separate partial keeps the two contracts distinct without an analyzer suppression.
Methods¶
| Name | Summary |
|---|---|
| static ActOnEveryObject | |
| static AutoPersistCollection | |
| static AutoPersist | |
| static CreateMetadataProvider | Creates a metadata provider for homogeneous collections where TItem is the concrete runtime type. This helper performs no runtime reflection and is suitable for trimming/AOT scenarios. |
| static CreateMetadata | Creates trimming/AOT-friendly persistence metadata for T. |
Inherited members
Extension blocks¶
extension(IObservable> this)¶
ActOnEveryObject
extension(ObservableCollection this)¶
AutoPersistCollectionAutoPersistCollectionAutoPersistCollectionAutoPersistCollectionActOnEveryObject
extension(ReadOnlyObservableCollection this)¶
AutoPersistCollectionAutoPersistCollectionActOnEveryObject
extension(T this)¶
AutoPersistAutoPersistAutoPersistAutoPersist
extension(TCollection this)¶
AutoPersistCollectionAutoPersistCollectionAutoPersistCollectionAutoPersistCollectionActOnEveryObject