diff options
| author | JP Dillingham <jpdillingham@gmail.com> | 2021-02-10 08:27:36 -0600 |
|---|---|---|
| committer | JP Dillingham <jpdillingham@gmail.com> | 2021-02-10 08:27:36 -0600 |
| commit | 39c66558cfedfbb28b11c37cd43ef39adcbe1d26 (patch) | |
| tree | 08f308dde85066fee0ef1fd401c97cc76c449c5e /src/slskd/Common/Configuration/YamlConfigurationSource.cs | |
| parent | 324dd6bec3b40b69b2278bb93376bc1f90932bfa (diff) | |
| download | slskd-39c66558cfedfbb28b11c37cd43ef39adcbe1d26.tar.gz | |
more docs
Diffstat (limited to 'src/slskd/Common/Configuration/YamlConfigurationSource.cs')
| -rw-r--r-- | src/slskd/Common/Configuration/YamlConfigurationSource.cs | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/src/slskd/Common/Configuration/YamlConfigurationSource.cs b/src/slskd/Common/Configuration/YamlConfigurationSource.cs index 7766e14c..332df647 100644 --- a/src/slskd/Common/Configuration/YamlConfigurationSource.cs +++ b/src/slskd/Common/Configuration/YamlConfigurationSource.cs @@ -15,7 +15,6 @@ // along with this program. If not, see https://www.gnu.org/licenses/. // </copyright> -#pragma warning disable SA1649 // File name should match first type name namespace slskd.Configuration { using System; @@ -34,7 +33,7 @@ namespace slskd.Configuration /// <summary> /// Adds a YAML configuration source to <paramref name="builder"/>. /// </summary> - /// <param name="builder">The <see cref="IConfigurationBuilder"/> to add to.</param> + /// <param name="builder">The <see cref="IConfigurationBuilder"/> to which to add .</param> /// <param name="path"> /// Path relative to the base path stored in <see cref="IConfigurationBuilder.Properties"/> of <paramref name="builder"/>. /// </param> @@ -43,7 +42,7 @@ namespace slskd.Configuration /// <param name="normalizeKeys"> /// A value indicating whether configuration keys should be normalized (_, - removed, changed to lowercase). /// </param> - /// <param name="provider">The <see cref="IFileProvider"/> to use to access the file.</param> + /// <param name="provider">The updated <see cref="IFileProvider"/> to use to access the file.</param> /// <returns>The <see cref="IConfigurationBuilder"/>.</returns> public static IConfigurationBuilder AddYamlFile(this IConfigurationBuilder builder, string path, bool optional = true, bool reloadOnChange = false, bool normalizeKeys = true, IFileProvider provider = null) { @@ -71,9 +70,9 @@ namespace slskd.Configuration /// <summary> /// Adds a YAML configuration source to <paramref name="builder"/>. /// </summary> - /// <param name="builder">The <see cref="IConfigurationBuilder"/> to add to.</param> + /// <param name="builder">The <see cref="IConfigurationBuilder"/> to which to add.</param> /// <param name="configureSource">Configures the source.</param> - /// <returns>The <see cref="IConfigurationBuilder"/>.</returns> + /// <returns>The updated <see cref="IConfigurationBuilder"/>.</returns> public static IConfigurationBuilder AddYamlFile(this IConfigurationBuilder builder, Action<YamlConfigurationSource> configureSource) => builder.Add(configureSource); } @@ -178,5 +177,4 @@ namespace slskd.Configuration return new YamlConfigurationProvider(this); } } -} -#pragma warning restore SA1649 // File name should match first type name
\ No newline at end of file +}
\ No newline at end of file |
