public override bool Equals(object other) { if (other is HostSettings) { HostSettings o = (HostSettings)other; return(host == o.host && rate == o.rate && pingsPerSecond == o.pingsPerSecond && doTraceRoute == o.doTraceRoute && reverseDnsLookup == o.reverseDnsLookup && drawServerNames == o.drawServerNames && drawMinMax == o.drawMinMax && drawPacketLoss == o.drawPacketLoss && badThreshold == o.badThreshold && worseThreshold == o.worseThreshold && preferIpv4 == o.preferIpv4); } return(false); }
public PingController(HostSettings p) { this.p = p; }