/// <summary> /// Set the <see cref="ChatConnectionStringBuilder"/> for the <see cref="ChatBot"/>. Also updates the <see cref="ConnectionString"/>. /// </summary> /// <param name="stringBuilder">The optional <see cref="ChatConnectionStringBuilder"/>.</param> public void SetConnectionStringBuilder(ChatConnectionStringBuilder stringBuilder) { ConnectionString = stringBuilder?.ToString() ?? throw new ArgumentNullException(nameof(stringBuilder)); }
/// <summary> /// Set the <see cref="ChatConnectionStringBuilder"/> for the <see cref="ChatBot"/>. Also updates the <see cref="ConnectionString"/>. /// </summary> /// <param name="stringBuilder">The optional <see cref="ChatConnectionStringBuilder"/>.</param> public void SetConnectionStringBuilder(ChatConnectionStringBuilder stringBuilder) { ConnectionString = stringBuilder?.ToString(); }