IDE suggestions

This commit is contained in:
Adrian Conlon
2024-05-19 09:07:20 +01:00
parent 6cbffa1051
commit e0235f396e
19 changed files with 151 additions and 192 deletions
+2 -4
View File
@@ -6,10 +6,8 @@ namespace EightBit
{
using System;
public sealed class PortEventArgs : EventArgs
public sealed class PortEventArgs(byte value) : EventArgs
{
public PortEventArgs(byte value) => this.Port = value;
public byte Port { get; }
public byte Port { get; } = value;
}
}