Browse Source

Replace with record struct per @tig.

BDisp 10 months ago
parent
commit
35a1916502
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Terminal.Gui/Drawing/CellEventArgs.cs

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

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