Browse Source

Replace with record struct per @tig.

BDisp 11 tháng trước cách đây
mục cha
commit
35a1916502
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      Terminal.Gui/Drawing/CellEventArgs.cs

+ 1 - 1
Terminal.Gui/Drawing/CellEventArgs.cs

@@ -1,7 +1,7 @@
 namespace Terminal.Gui;
 
 /// <summary>Args for events that relate to a specific <see cref="Cell"/>.</summary>
-public class CellEventArgs
+public record struct CellEventArgs
 {
     /// <summary>Creates a new instance of the <see cref="CellEventArgs"/> class.</summary>
     /// <param name="line">The line.</param>