Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use same notifyOnInitialValue param description as NotifyPropertyChangedEx #718

Merged
merged 2 commits into from
Sep 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/DynamicData/Cache/ObservableCacheEx.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5670,7 +5670,7 @@ public static IObservable<IReadOnlyCollection<T>> StartWithEmpty<T>(this IObserv
/// <typeparam name="TValue">The type of the value.</typeparam>
/// <param name="source">The source.</param>
/// <param name="propertyAccessor">The property accessor.</param>
/// <param name="notifyOnInitialValue">if set to <c>true</c> [notify on initial value].</param>
/// <param name="notifyOnInitialValue">If true the resulting observable includes the initial value.</param>
/// <returns>An observable which emits a property when it has changed.</returns>
public static IObservable<PropertyValue<TObject, TValue>> WhenPropertyChanged<TObject, TKey, TValue>(this IObservable<IChangeSet<TObject, TKey>> source, Expression<Func<TObject, TValue>> propertyAccessor, bool notifyOnInitialValue = true)
where TObject : INotifyPropertyChanged
Expand All @@ -5697,7 +5697,7 @@ public static IObservable<IReadOnlyCollection<T>> StartWithEmpty<T>(this IObserv
/// <typeparam name="TValue">The type of the value.</typeparam>
/// <param name="source">The source.</param>
/// <param name="propertyAccessor">The property accessor.</param>
/// <param name="notifyOnInitialValue">if set to <c>true</c> [notify on initial value].</param>
/// <param name="notifyOnInitialValue">If true the resulting observable includes the initial value.</param>
/// <returns>An observable which emits a value when it has changed.</returns>
public static IObservable<TValue?> WhenValueChanged<TObject, TKey, TValue>(this IObservable<IChangeSet<TObject, TKey>> source, Expression<Func<TObject, TValue>> propertyAccessor, bool notifyOnInitialValue = true)
where TObject : INotifyPropertyChanged
Expand Down
4 changes: 2 additions & 2 deletions src/DynamicData/List/ObservableListEx.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2260,7 +2260,7 @@ public static IObservable<IVirtualChangeSet<T>> Virtualise<T>(this IObservable<I
/// <typeparam name="TValue">The type of the value.</typeparam>
/// <param name="source">The source.</param>
/// <param name="propertyAccessor">The property accessor.</param>
/// <param name="notifyOnInitialValue">if set to <c>true</c> [notify on initial value].</param>
/// <param name="notifyOnInitialValue">If true the resulting observable includes the initial value.</param>
/// <returns>An observable which emits the property value.</returns>
public static IObservable<PropertyValue<TObject, TValue>> WhenPropertyChanged<TObject, TValue>(this IObservable<IChangeSet<TObject>> source, Expression<Func<TObject, TValue>> propertyAccessor, bool notifyOnInitialValue = true)
where TObject : INotifyPropertyChanged
Expand All @@ -2286,7 +2286,7 @@ public static IObservable<IVirtualChangeSet<T>> Virtualise<T>(this IObservable<I
/// <typeparam name="TValue">The type of the value.</typeparam>
/// <param name="source">The source.</param>
/// <param name="propertyAccessor">The property accessor.</param>
/// <param name="notifyOnInitialValue">if set to <c>true</c> [notify on initial value].</param>
/// <param name="notifyOnInitialValue">If true the resulting observable includes the initial value.</param>
/// <returns>An observable which emits the value.</returns>
public static IObservable<TValue?> WhenValueChanged<TObject, TValue>(this IObservable<IChangeSet<TObject>> source, Expression<Func<TObject, TValue>> propertyAccessor, bool notifyOnInitialValue = true)
where TObject : INotifyPropertyChanged
Expand Down