/// <summary> /// Constructs a builder from an existing URI. /// </summary> /// <param name="uri">The URI used to set the builder's initial values.</param> public GenericUniformResourceIdentifierBuilder(GenericUniformResourceIdentifier uri) { _ = uri ?? throw new ArgumentNullException(nameof(uri)); BuilderUtil.ApplyUriReference(this, uri).WithScheme(uri.Scheme); }
/// <summary> /// Constructs a builder from an existing URI. /// </summary> /// <param name="uri">The URI used to set the builder's initial values.</param> public GenericUniformResourceIdentifierBuilder(GenericUniformResourceIdentifier uri) { BuilderUtil.ApplyUriReference(this, uri).WithScheme(uri.Scheme); }