Skip to content

Commit

Permalink
Correct docs on DI lifetime (#5020)
Browse files Browse the repository at this point in the history
(cherry picked from commit b28ea2e)
  • Loading branch information
roji committed Mar 28, 2023
1 parent ca43399 commit 597c481
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public static class NpgsqlServiceCollectionExtensions
/// </param>
/// <param name="connectionLifetime">
/// The lifetime with which to register the <see cref="NpgsqlConnection" /> in the container.
/// Defaults to <see cref="ServiceLifetime.Scoped" />.
/// Defaults to <see cref="ServiceLifetime.Transient" />.
/// </param>
/// <param name="dataSourceLifetime">
/// The lifetime with which to register the <see cref="NpgsqlDataSource" /> service in the container.
Expand All @@ -44,7 +44,7 @@ public static class NpgsqlServiceCollectionExtensions
/// <param name="connectionString">An Npgsql connection string.</param>
/// <param name="connectionLifetime">
/// The lifetime with which to register the <see cref="NpgsqlConnection" /> in the container.
/// Defaults to <see cref="ServiceLifetime.Scoped" />.
/// Defaults to <see cref="ServiceLifetime.Transient" />.
/// </param>
/// <param name="dataSourceLifetime">
/// The lifetime with which to register the <see cref="NpgsqlDataSource" /> service in the container.
Expand All @@ -69,7 +69,7 @@ public static class NpgsqlServiceCollectionExtensions
/// </param>
/// <param name="connectionLifetime">
/// The lifetime with which to register the <see cref="NpgsqlConnection" /> in the container.
/// Defaults to <see cref="ServiceLifetime.Scoped" />.
/// Defaults to <see cref="ServiceLifetime.Transient" />.
/// </param>
/// <param name="dataSourceLifetime">
/// The lifetime with which to register the <see cref="NpgsqlDataSource" /> service in the container.
Expand All @@ -93,7 +93,7 @@ public static class NpgsqlServiceCollectionExtensions
/// <param name="connectionString">An Npgsql connection string.</param>
/// <param name="connectionLifetime">
/// The lifetime with which to register the <see cref="NpgsqlConnection" /> in the container.
/// Defaults to <see cref="ServiceLifetime.Scoped" />.
/// Defaults to <see cref="ServiceLifetime.Transient" />.
/// </param>
/// <param name="dataSourceLifetime">
/// The lifetime with which to register the <see cref="NpgsqlDataSource" /> service in the container.
Expand Down

0 comments on commit 597c481

Please sign in to comment.