Kaynağa Gözat

Merge pull request #10132 from workgroupengineering/fixes/Warnings/XML_Comments

fix: xml comment
Max Katz 2 yıl önce
ebeveyn
işleme
d39b927266

+ 1 - 1
src/Avalonia.Base/Data/InstancedBinding.cs

@@ -23,7 +23,7 @@ namespace Avalonia.Data
         /// <param name="priority">The priority of the binding.</param>
         /// <remarks>
         /// This constructor can be used to create any type of binding and as such requires an
-        /// <see cref="ISubject{Object}"/> as the binding source because this is the only binding
+        /// <see cref="IObservable{Object}"/> as the binding source because this is the only binding
         /// source which can be used for all binding modes. If you wish to create an instance with
         /// something other than a subject, use one of the static creation methods on this class.
         /// </remarks>

+ 2 - 2
src/Avalonia.Base/Metadata/InheritDataTypeFromItemsAttribute.cs

@@ -25,9 +25,9 @@ public sealed class InheritDataTypeFromItemsAttribute : Attribute
     /// The name of the property whose item type should be used on the target property.
     /// </summary>
     public string AncestorItemsProperty { get; }
-    
+
     /// <summary>
-    /// The ancestor type to be used in a lookup for the <see cref="AncestorProperty"/>.
+    /// The ancestor type to be used in a lookup for the <see cref="AncestorItemsProperty"/>.
     /// If null, the declaring type of the target property is used.
     /// </summary>
     public Type? AncestorType { get; set; }

+ 1 - 1
src/Avalonia.Base/Rendering/SceneGraph/IDrawOperation.cs

@@ -19,7 +19,7 @@ namespace Avalonia.Rendering.SceneGraph
         /// <param name="p">The point in global coordinates.</param>
         /// <returns>True if the point hits the node's geometry; otherwise false.</returns>
         /// <remarks>
-        /// This method does not recurse to child <see cref="IVisualNode"/>s, if you want
+        /// This method does not recurse to childs, if you want
         /// to hit test children they must be hit tested manually.
         /// </remarks>
         bool HitTest(Point p);

+ 1 - 1
src/Avalonia.Controls/TreeViewItem.cs

@@ -257,7 +257,7 @@ namespace Avalonia.Controls
                 Dispatcher.UIThread.Post(this.BringIntoView); // must use the Dispatcher, otherwise the TreeView doesn't scroll
             }
         }
-        
+
         /// <summary>
         /// Invoked when the <see cref="InputElement.DoubleTapped"/> event occurs in the header.
         /// </summary>