Inheritance: ExtensibleJsonObject
Exemple #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);
        }
Exemple #2
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);
        }