Inheritance: ExtensibleJsonObject
コード例 #1
0
        /// <summary>
        /// Initializes a new instance of the <see cref="AddServiceCatalogEndpointRequest"/> class with the specified
        /// endpoint template identifier.
        /// </summary>
        /// <param name="endpointTemplateId">
        /// The unique identifier of the endpoint template to use for the endpoint.
        /// </param>
        /// <exception cref="ArgumentNullException">
        /// If <paramref name="endpointTemplateId"/> is <see langword="null"/>.
        /// </exception>
        public AddServiceCatalogEndpointRequest(EndpointTemplateId endpointTemplateId)
        {
            if (endpointTemplateId == null)
            {
                throw new ArgumentNullException("endpointTemplateId");
            }

            _endpointTemplate = new EndpointTemplate(endpointTemplateId);
        }
コード例 #2
0
ファイル: EndPoints.cs プロジェクト: crowdy/OpenStack-ConoHa
        /// <summary>
        /// Initializes a new instance of the <see cref="AddServiceCatalogEndpointRequest"/> class with the specified
        /// endpoint template identifier.
        /// </summary>
        /// <param name="endpointTemplateId">
        /// The unique identifier of the endpoint template to use for the endpoint.
        /// </param>
        /// <exception cref="ArgumentNullException">
        /// If <paramref name="endpointTemplateId"/> is <see langword="null"/>.
        /// </exception>
        public AddServiceCatalogEndpointRequest(EndpointTemplateId endpointTemplateId)
        {
            if (endpointTemplateId == null)
                throw new ArgumentNullException("endpointTemplateId");

            _endpointTemplate = new EndpointTemplate(endpointTemplateId);
        }