AK.F1.Timing.Messages.Driver.PostedTimeTest.GetDistinctInstances C# (CSharp) 메소드

GetDistinctInstances() 개인적인 정적인 메소드

private static GetDistinctInstances ( ) : IEnumerable
리턴 IEnumerable
        private static IEnumerable<PostedTime> GetDistinctInstances()
        {
            // Differ only in time.
            yield return new PostedTime(TimeSpan.FromSeconds(1), PostedTimeType.Normal, 1);
            yield return new PostedTime(TimeSpan.FromSeconds(2), PostedTimeType.Normal, 1);
            yield return new PostedTime(TimeSpan.FromSeconds(3), PostedTimeType.Normal, 1);
            // Differ only in type.
            yield return new PostedTime(TimeSpan.FromSeconds(4), PostedTimeType.Normal, 1);
            yield return new PostedTime(TimeSpan.FromSeconds(4), PostedTimeType.PersonalBest, 1);
            yield return new PostedTime(TimeSpan.FromSeconds(4), PostedTimeType.SessionBest, 1);
            // Differ only in laps.
            yield return new PostedTime(TimeSpan.FromSeconds(5), PostedTimeType.Normal, 1);
            yield return new PostedTime(TimeSpan.FromSeconds(5), PostedTimeType.Normal, 2);
            yield return new PostedTime(TimeSpan.FromSeconds(5), PostedTimeType.Normal, 3);
        }