Skip to content

Commit

Permalink
Use same notifyOnInitialValue param description as NotifyPropertyChan…
Browse files Browse the repository at this point in the history
…gedEx (#718)

Co-authored-by: Chris Pulman <chris.pulman@yahoo.com>
  • Loading branch information
kmgallahan and ChrisPulman committed Sep 21, 2023
1 parent de25ce5 commit ac570b8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
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

0 comments on commit ac570b8

Please sign in to comment.