Exemplo n.º 1
0
        public override double GetDistanceTo(LocalizableEntity <int> otherEntity)
        {
            if (otherEntity is StopTimeInfo stopTimeInfo)
            {
                return(StopDto.GetDistanceTo(stopTimeInfo.StopDto));
            }

            return(double.MaxValue);
        }
Exemplo n.º 2
0
 public abstract double GetDistanceTo(LocalizableEntity <T> otherEntity);