/// <summary>
 /// Adds a <see cref="CorsProfile" /> object to the collection.
 /// </summary>
 /// <param name="profile">The <see cref="CorsProfile" /> object to add to the collection.</param>
 /// <exception cref="ConfigurationErrorsException">
 /// The <see cref="CorsProfile" /> object already exists in the collection or the collection is read only.
 /// </exception>
 public void Add(CorsProfile profile)
 {
     BaseAdd(profile);
 }
 /// <summary>
 /// Sets the specified <see cref="CorsProfile" /> object.
 /// </summary>
 /// <param name="profile">The <see cref="CorsProfile" /> element to set.</param>
 /// <exception cref="ConfigurationErrorsException">The <see cref="CorsProfileCollection" /> is read-only.</exception>
 public void Set(CorsProfile profile)
 {
     BaseAdd(profile, false);
 }