Пример #1
0
        /// <summary>
        /// Initializes a new instance of the <see cref="ServerRebuildRequest"/>
        /// class with the specified details.
        /// </summary>
        /// <param name="details">The details of the request.</param>
        /// <exception cref="ArgumentNullException">If <paramref name="details"/> is <c>null</c>.</exception>
        public ServerRebuildRequest(ServerRebuildDetails details)
        {
            if (details == null)
                throw new ArgumentNullException("details");

            Details = details;
        }
        /// <summary>
        /// Initializes a new instance of the <see cref="ServerRebuildRequest"/>
        /// class with the specified details.
        /// </summary>
        /// <param name="details">The details of the request.</param>
        /// <exception cref="ArgumentNullException">If <paramref name="details"/> is <see langword="null"/>.</exception>
        public ServerRebuildRequest(ServerRebuildDetails details)
        {
            if (details == null)
            {
                throw new ArgumentNullException("details");
            }

            Details = details;
        }