NotifyCollectionChangedExtensionsGetWeakCollectionChangedObservable Method
Gets a weak observable for the CollectionChanged event.
Namespace: Avalonia.CollectionsAssembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public static IObservable<NotifyCollectionChangedEventArgs> GetWeakCollectionChangedObservable(
this INotifyCollectionChanged collection
)
<ExtensionAttribute>
Public Shared Function GetWeakCollectionChangedObservable (
collection As INotifyCollectionChanged
) As IObservable(Of NotifyCollectionChangedEventArgs)
[<ExtensionAttribute>]
static member GetWeakCollectionChangedObservable :
collection : INotifyCollectionChanged -> IObservable<NotifyCollectionChangedEventArgs>
- collection INotifyCollectionChanged
- The collection.
IObservableNotifyCollectionChangedEventArgsAn observable.In Visual Basic and C#, you can call this method as an instance method on any object of type
INotifyCollectionChanged. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).