示例#1
0
        public EchoDetectedDomainEvent(RadarPulse pulse,
                                       IRadarDetectable detectedRadarObject)
        {
            var radarEcho = new RadarEcho(pulse, detectedRadarObject);

            Echo = radarEcho;
        }
示例#2
0
        public bool Equals([AllowNull] IRadarDetectable other)
        {
            if (other == null)
            {
                return(false);
            }

            return(this.EchoID == other.EchoID);
        }