From 39c66558cfedfbb28b11c37cd43ef39adcbe1d26 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Wed, 10 Feb 2021 08:27:36 -0600 Subject: more docs --- src/slskd/Common/Configuration/YamlConfigurationSource.cs | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'src/slskd/Common/Configuration/YamlConfigurationSource.cs') 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/. // -#pragma warning disable SA1649 // File name should match first type name namespace slskd.Configuration { using System; @@ -34,7 +33,7 @@ namespace slskd.Configuration /// /// Adds a YAML configuration source to . /// - /// The to add to. + /// The to which to add . /// /// Path relative to the base path stored in of . /// @@ -43,7 +42,7 @@ namespace slskd.Configuration /// /// A value indicating whether configuration keys should be normalized (_, - removed, changed to lowercase). /// - /// The to use to access the file. + /// The updated to use to access the file. /// The . 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 /// /// Adds a YAML configuration source to . /// - /// The to add to. + /// The to which to add. /// Configures the source. - /// The . + /// The updated . public static IConfigurationBuilder AddYamlFile(this IConfigurationBuilder builder, Action 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 -- cgit v1.2.3