Просмотр исходного кода

Merge pull request #8192 from workgroupengineering/fixes/Warnings/Xml-Commnet

fix: some xml comment
Max Katz 3 лет назад
Родитель
Сommit
194ddc5525

+ 1 - 0
src/Avalonia.Base/Animation/Transitions/Rotate3DTransition.cs

@@ -14,6 +14,7 @@ public class Rotate3DTransition: PageSlide
     /// </summary>
     /// <param name="duration">How long the rotation should take place</param>
     /// <param name="orientation">The orientation of the rotation</param>
+    /// <param name="depth">Defines the depth of the 3D Effect. If null, depth will be calculated automatically from the width or height of the common parent of the visual being rotated</param>
     public Rotate3DTransition(TimeSpan duration, SlideAxis orientation = SlideAxis.Horizontal, double? depth = null)
         : base(duration, orientation)
     {

+ 1 - 1
src/Avalonia.Base/AvaloniaPropertyChangedEventArgs.cs

@@ -55,7 +55,7 @@ namespace Avalonia
         /// </summary>
         /// <remarks>
         /// This will usually be true, except in
-        /// <see cref="AvaloniaObject.OnPropertyChangedCore{T}(AvaloniaPropertyChangedEventArgs{T})"/>
+        /// <see cref="AvaloniaObject.OnPropertyChangedCore(AvaloniaPropertyChangedEventArgs)"/>
         /// which receives notifications for all changes to property values, whether a value with a higher
         /// priority is present or not. When this property is false, the change that is being signaled
         /// has not resulted in a change to the property value on the object.

+ 3 - 0
src/Avalonia.Controls.DataGrid/DataGridDataConnection.cs

@@ -193,8 +193,11 @@ namespace Avalonia.Controls
             }
         }
 
+        /// <summary>Try get number of DataSource itmes.</summary>
         /// <param name="allowSlow">When "allowSlow" is false, method will not use Linq.Count() method and will return 0 or 1 instead.</param>
         /// <param name="getAny">If "getAny" is true, method can use Linq.Any() method to speedup.</param>
+        /// <param name="count">number of DataSource itmes.</param>
+        /// <returns>true if able to retrieve number of DataSource itmes; otherwise, false.</returns>
         internal bool TryGetCount(bool allowSlow, bool getAny, out int count)
         {
             bool result;