/// <summary> /// This method returns the lowest speed limit linked to the aspect /// </summary> public float GetSpeedLimit(SignalAspectState aspect) { return(Aspects.First((a) => a.Aspect == aspect)?.SpeedLimit ?? -1); }