Browse Source

Fix typos (#15267)

* Correct a priority value in property set log message

* Correct a comment
pull/15282/head
Heku 3 years ago
committed by GitHub
parent
commit
8e89c81211
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      src/Avalonia.Base/AvaloniaObject.cs
  2. 2
      src/Avalonia.Base/AvaloniaProperty.cs

2
src/Avalonia.Base/AvaloniaObject.cs

@ -326,7 +326,7 @@ namespace Avalonia
VerifyAccess(); VerifyAccess();
ValidatePriority(priority); ValidatePriority(priority);
LogPropertySet(property, value, BindingPriority.LocalValue); LogPropertySet(property, value, priority);
if (value is UnsetValueType) if (value is UnsetValueType)
{ {

2
src/Avalonia.Base/AvaloniaProperty.cs

@ -271,7 +271,7 @@ namespace Avalonia
} }
/// <summary> /// <summary>
/// Registers an attached <see cref="AvaloniaProperty"/>. /// Registers a <see cref="AvaloniaProperty"/>.
/// </summary> /// </summary>
/// <typeparam name="TOwner">The type of the class that is registering the property.</typeparam> /// <typeparam name="TOwner">The type of the class that is registering the property.</typeparam>
/// <typeparam name="TValue">The type of the property's value.</typeparam> /// <typeparam name="TValue">The type of the property's value.</typeparam>

Loading…
Cancel
Save