AK.F1.Timing.Model.Driver.LapHistoryEntry.CheckOneIsNotNull C# (CSharp) Method

CheckOneIsNotNull() private method

private CheckOneIsNotNull ( PostedTime s1, PostedTime s2, PostedTime s3, PostedTime lap ) : void
s1 PostedTime
s2 PostedTime
s3 PostedTime
lap PostedTime
return void
        private void CheckOneIsNotNull(PostedTime s1, PostedTime s2, PostedTime s3, PostedTime lap)
        {
            if(s1 == null && s2 == null && s3 == null && lap == null)
            {
                throw Guard.LapHistoryEntry_AtLeastOneTimeMustBeSpecified();
            }
        }