Files
laatzen/Common/SIRTBroadcaster.Abstraction/SIRTConnection.cs
T
2023-08-22 14:58:05 +02:00

17 lines
419 B
C#

namespace SIRTBroadcaster.Abstraction
{
public class SIRTConnection : SIRTModel
{
public string SirtPort { get; set; }
public override bool Equals(object other)
=> other?.GetHashCode() == this.GetHashCode();
public override int GetHashCode()
=> this.SirtId?.GetHashCode() ?? 0;
public override string ToString()
=> this.SirtId;
}
}