From b3defa42249836c54820d097c04c6f2ba1d866c1 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Fri, 12 Feb 2021 16:58:00 -0600 Subject: docs --- src/slskd/Common/Configuration/CommandLineConfigurationSource.cs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/slskd/Common/Configuration/CommandLineConfigurationSource.cs') diff --git a/src/slskd/Common/Configuration/CommandLineConfigurationSource.cs b/src/slskd/Common/Configuration/CommandLineConfigurationSource.cs index 28d9907d..6cf59808 100644 --- a/src/slskd/Common/Configuration/CommandLineConfigurationSource.cs +++ b/src/slskd/Common/Configuration/CommandLineConfigurationSource.cs @@ -32,7 +32,7 @@ namespace slskd.Configuration /// Adds a command line argument configuration soruce to . /// /// The to which to add. - /// The type from which to map property values. + /// The type from which to map properties. /// The command line string from which to parse arguments. /// The updated . public static IConfigurationBuilder AddCommandLine(this IConfigurationBuilder builder, Type targetType, string commandLine = null) @@ -85,7 +85,7 @@ namespace slskd.Configuration private Type TargetType { get; set; } /// - /// Parses command line arguments from the specified string and maps them to the specified keys. + /// Parses command line arguments from the specified string and maps them to the corresponding keys. /// public override void Load() { @@ -142,6 +142,9 @@ namespace slskd.Configuration /// public string CommandLine { get; set; } + /// + /// Gets or sets the type from which to map properties. + /// public Type TargetType { get; set; } /// -- cgit v1.2.3