Skip to content

Commit

Permalink
docs: Add exception tag
Browse files Browse the repository at this point in the history
  • Loading branch information
MrDave1999 committed Jun 23, 2024
1 parent 34c637a commit f662dd2
Showing 1 changed file with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@ public static class EnvConfigurationExtensions
/// <param name="path">The path to the file.</param>
/// <returns>The <see cref="IConfigurationBuilder"/>.</returns>
/// <exception cref="ArgumentNullException">
/// <paramref name="builder"/>, or <paramref name="path"/> is <c>null</c>.
/// <paramref name="builder"/> is <c>null</c>.
/// </exception>
/// <exception cref="ArgumentException">
/// If the <paramref name="path"/> is null, empty or consists only of white-space characters.
/// </exception>
public static IConfigurationBuilder AddEnvFile(this IConfigurationBuilder builder, string path)
=> builder.AddEnvFile(path, optional: false);
Expand All @@ -30,7 +33,10 @@ public static IConfigurationBuilder AddEnvFile(this IConfigurationBuilder builde
/// <param name="optional">Whether the file is optional.</param>
/// <returns>The <see cref="IConfigurationBuilder"/>.</returns>
/// <exception cref="ArgumentNullException">
/// <paramref name="builder"/>, or <paramref name="path"/> is <c>null</c>.
/// <paramref name="builder"/> is <c>null</c>.
/// </exception>
/// <exception cref="ArgumentException">
/// If the <paramref name="path"/> is null, empty or consists only of white-space characters.
/// </exception>
public static IConfigurationBuilder AddEnvFile(
this IConfigurationBuilder builder,
Expand Down

0 comments on commit f662dd2

Please sign in to comment.