public static IHealthChecksBuilder AddRavenDB( this IHealthChecksBuilder builder, string connectionString, string databaseName = default, string name = default, HealthStatus?failureStatus = default, IEnumerable <string> tags = default) { if (connectionString == null) { throw new ArgumentNullException(nameof(connectionString)); } return(builder.AddRavenDB( _ => { _.Urls = new[] { connectionString }; _.Database = databaseName; }, name, failureStatus, tags)); }