Explorar o código

Replace with record struct per @tig.

BDisp hai 10 meses
pai
achega
35a1916502
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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>