Преглед на файлове

Replace with record struct per @tig.

BDisp преди 10 месеца
родител
ревизия
35a1916502
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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>