You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Couchbase.Aspire.Client/AspireCouchbaseExtensions.cs
+37-2Lines changed: 37 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -29,6 +29,22 @@ public static class AspireCouchbaseExtensions
29
29
/// <param name="configureClusterOptions">An optional method that can be used for customizing the <see cref="ClusterOptions"/>. It's invoked after the options are read from the configuration.</param>
30
30
/// <remarks>Reads the configuration from "Aspire:Couchbase:Client" section.</remarks>
/// Registers <see cref="IClusterProvider"/> as a singleton in the services provided by the <paramref name="builder"/>.
40
+
/// Enables retries, corresponding health check, logging, and telemetry.
41
+
/// </summary>
42
+
/// <param name="builder">The <see cref="IHostApplicationBuilder" /> to read config from and add services to.</param>
43
+
/// <param name="connectionName">A name used to retrieve the connection string from the ConnectionStrings configuration section.</param>
44
+
/// <param name="configureSettings">An optional method that can be used for customizing the <see cref="CouchbaseClientSettings"/>. It's invoked after the settings are read from the configuration.</param>
45
+
/// <param name="configureClusterOptions">An optional method that can be used for customizing the <see cref="ClusterOptions"/>. It's invoked after the options are read from the configuration.</param>
46
+
/// <remarks>Reads the configuration from "Aspire:Couchbase:Client" section.</remarks>
/// Registers <see cref="IClusterProvider"/> as a keyed singleton for the given <paramref name="name"/> in the services provided by the <paramref name="builder"/>.
73
+
/// Enables retries, corresponding health check, logging, and telemetry.
74
+
/// </summary>
75
+
/// <param name="builder">The <see cref="IHostApplicationBuilder" /> to read config from and add services to.</param>
76
+
/// <param name="name">The name of the component, which is used as the <see cref="ServiceDescriptor.ServiceKey"/> of the service and also to retrieve the connection string from the ConnectionStrings configuration section.</param>
77
+
/// <param name="configureSettings">An optional method that can be used for customizing the <see cref="CouchbaseClientSettings"/>. It's invoked after the settings are read from the configuration.</param>
78
+
/// <param name="configureClusterOptions">An optional method that can be used for customizing the <see cref="ClusterOptions"/>. It's invoked after the options are read from the configuration.</param>
79
+
/// <remarks>Reads the configuration from "Aspire:Couchbase:Client:{name}" section.</remarks>
0 commit comments