/// <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); }
/// <summary> /// Initializes a new instance of the <see cref="EndpointTemplate"/> class with the specified endpoint template /// identifier. /// </summary> /// <param name="id">The unique identifier of the endpoint template.</param> /// <exception cref="ArgumentNullException">If <paramref name="id"/> is <see langword="null"/>.</exception> public EndpointTemplate(EndpointTemplateId id) { if (id == null) throw new ArgumentNullException("id"); _id = id; }
/// <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); }
/// <summary> /// Initializes a new instance of the <see cref="EndpointTemplate"/> class with the specified endpoint template /// identifier. /// </summary> /// <param name="id">The unique identifier of the endpoint template.</param> /// <exception cref="ArgumentNullException">If <paramref name="id"/> is <see langword="null"/>.</exception> public EndpointTemplate(EndpointTemplateId id) { if (id == null) { throw new ArgumentNullException("id"); } _id = id; }