Browse Source
Fix documentation typos in AvaloniaLIst (#4948) (#13146)
Co-authored-by: Jumar Macato <16554748+jmacato@users.noreply.github.com>
pull/13158/head
Magnus Lindhe
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
4 additions and
6 deletions
-
src/Avalonia.Base/Collections/AvaloniaList.cs
|
|
|
@ -14,14 +14,14 @@ namespace Avalonia.Collections |
|
|
|
public enum ResetBehavior |
|
|
|
{ |
|
|
|
/// <summary>
|
|
|
|
/// Clearing the list notifies a with a
|
|
|
|
/// <see cref="NotifyCollectionChangedAction.Reset"/>.
|
|
|
|
/// Clearing the list notifies with the <see cref="CollectionChanged"/> event with a
|
|
|
|
/// <see cref="NotifyCollectionChangedAction.Reset"/> action.
|
|
|
|
/// </summary>
|
|
|
|
Reset, |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Clearing the list notifies a with a
|
|
|
|
/// <see cref="NotifyCollectionChangedAction.Remove"/>.
|
|
|
|
/// Clearing the list notifies with the <see cref="CollectionChanged"/> event with a
|
|
|
|
/// <see cref="NotifyCollectionChangedAction.Remove"/> action.
|
|
|
|
/// </summary>
|
|
|
|
Remove, |
|
|
|
} |
|
|
|
@ -42,11 +42,9 @@ namespace Avalonia.Collections |
|
|
|
/// <see cref="NotifyCollectionChangedAction.Remove"/> action instead of a
|
|
|
|
/// <see cref="NotifyCollectionChangedAction.Reset"/> when the list is cleared by
|
|
|
|
/// setting <see cref="ResetBehavior"/> to <see cref="ResetBehavior.Remove"/>.
|
|
|
|
/// removed
|
|
|
|
/// </item>
|
|
|
|
/// <item>
|
|
|
|
/// A <see cref="Validate"/> function can be used to validate each item before insertion.
|
|
|
|
/// removed
|
|
|
|
/// </item>
|
|
|
|
/// </list>
|
|
|
|
/// </remarks>
|
|
|
|
|