Ejemplo n.º 1
0
        /// <summary>
        ///     Initializes a new instance of the <see cref="DrawInfoCI" /> class
        /// </summary>
        /// <param name="dto">A <see cref="DrawInfoDTO" /> instance containing information about the draw info</param>
        public DrawInfoCI(DrawInfoDTO dto)
        {
            Contract.Requires(dto != null);

            DrawType = dto.DrawType;
            TimeType = dto.TimeType;
            GameType = dto.GameType;
        }
Ejemplo n.º 2
0
        /// <summary>
        /// Initializes a new instance of the <see cref="DrawInfoCI"/> class
        /// </summary>
        /// <param name="dto">A <see cref="DrawInfoDTO"/> instance containing information about the draw info</param>
        public DrawInfoCI(DrawInfoDTO dto)
        {
            Guard.Argument(dto, nameof(dto)).NotNull();

            DrawType = dto.DrawType;
            TimeType = dto.TimeType;
            GameType = dto.GameType;
        }