From b3defa42249836c54820d097c04c6f2ba1d866c1 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Fri, 12 Feb 2021 16:58:00 -0600 Subject: docs --- .../Common/Configuration/EnvironmentVariableConfigurationSource.cs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/slskd/Common/Configuration/EnvironmentVariableConfigurationSource.cs') diff --git a/src/slskd/Common/Configuration/EnvironmentVariableConfigurationSource.cs b/src/slskd/Common/Configuration/EnvironmentVariableConfigurationSource.cs index d983e6b0..9a09d4e1 100644 --- a/src/slskd/Common/Configuration/EnvironmentVariableConfigurationSource.cs +++ b/src/slskd/Common/Configuration/EnvironmentVariableConfigurationSource.cs @@ -18,10 +18,8 @@ namespace slskd.Configuration { using System; - using System.Collections.Generic; using System.Linq; using System.Reflection; - using System.Text.Json; using Microsoft.Extensions.Configuration; using Utility.EnvironmentVariables; @@ -34,7 +32,7 @@ namespace slskd.Configuration /// Adds an environment variable configuration source to . /// /// The to which to add. - /// The type from which to map property values. + /// The type from which to map properties. /// A prefix to prepend to all variable names. /// The updated . public static IConfigurationBuilder AddEnvironmentVariables(this IConfigurationBuilder builder, Type targetType, string prefix = null) @@ -87,7 +85,7 @@ namespace slskd.Configuration private string Prefix { get; set; } /// - /// Loads environment variables and maps them to the specified keys. + /// Loads environment variables and maps them to the corresponding keys. /// public override void Load() { -- cgit v1.2.3