/// <summary>
        /// Initializes a new instance of the <see cref="ServerResizeRequest"/>
        /// 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 ServerResizeRequest(ServerResizeDetails details)
        {
            if (details == null)
                throw new ArgumentNullException("details");

            Details = details;
        }
Ejemplo n.º 2
0
        /// <summary>
        /// Initializes a new instance of the <see cref="ServerResizeRequest"/>
        /// 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 ServerResizeRequest(ServerResizeDetails details)
        {
            if (details == null)
            {
                throw new ArgumentNullException("details");
            }

            Details = details;
        }