コード例 #1
0
        private static Domain.Lap Convert(Lap lap)
        {
            var result = new Domain.Lap(lap.Start);

            result.SetPropertyValue("Id", lap.LapId);
            result.SetPropertyValue("End", lap.End);

            return(result);
        }
コード例 #2
0
        private static Lap Convert(Domain.Lap lap)
        {
            var result = new Lap
            {
                LapId = lap.Id,
                Start = lap.Start,
                End   = lap.End
            };

            return(result);
        }