17 lines
419 B
C#
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;
|
|
}
|
|
}
|