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; }
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; }