public override double GetDistanceTo(LocalizableEntity <int> otherEntity) { if (otherEntity is StopTimeInfo stopTimeInfo) { return(StopDto.GetDistanceTo(stopTimeInfo.StopDto)); } return(double.MaxValue); }
public abstract double GetDistanceTo(LocalizableEntity <T> otherEntity);