소스 검색

Replace with record struct per @tig.

BDisp 11 달 전
부모
커밋
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>