Example #1
0
        internal MaxStakeImpl(MaxStakeResponseDTO maxStakeResponseDto)
        {
            Guard.Argument(maxStakeResponseDto, nameof(maxStakeResponseDto)).NotNull();

            MaxStake = maxStakeResponseDto.MaxStake;
        }
Example #2
0
        /// <summary>
        /// Initializes a new instance of the <see cref="MaxStakeMapper"/> class
        /// </summary>
        /// <param name="data">A <see cref="MaxStakeResponseDTO"/> instance containing data used to construct <see cref="MaxStakeImpl"/> instance</param>
        internal MaxStakeMapper(MaxStakeResponseDTO data)
        {
            Guard.Argument(data, nameof(data)).NotNull();

            _data = data;
        }