mirror of
https://github.com/MoleskiCoder/EightBitNet.git
synced 2026-04-24 02:17:47 +00:00
IDE suggestions
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user