コード例 #1
0
        /// <summary>
        /// Initializes a new instance of the <see cref="CreateCloudNetworkRequest"/>
        /// 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 CreateCloudNetworkRequest(CreateCloudNetworksDetails details)
        {
            if (details == null)
                throw new ArgumentNullException("details");

            Details = details;
        }
コード例 #2
0
        /// <summary>
        /// Initializes a new instance of the <see cref="CreateCloudNetworkRequest"/>
        /// 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 CreateCloudNetworkRequest(CreateCloudNetworksDetails details)
        {
            if (details == null)
            {
                throw new ArgumentNullException("details");
            }

            Details = details;
        }