Пример #1
0
        internal DrawInfoDTO(lotteryDraw_info info)
        {
            Contract.Requires(info != null);

            DrawType = RestMapperHelper.MapDrawType(info.draw_type, info.draw_typeSpecified);
            TimeType = RestMapperHelper.MapTimeType(info.time_type, info.time_typeSpecified);
            GameType = info.game_type;
        }
Пример #2
0
        internal DrawInfoDTO(lotteryDraw_info info)
        {
            Guard.Argument(info, nameof(info)).NotNull();

            DrawType = RestMapperHelper.MapDrawType(info.draw_type, info.draw_typeSpecified);
            TimeType = RestMapperHelper.MapTimeType(info.time_type, info.time_typeSpecified);
            GameType = info.game_type;
        }