From 02e985d9550c423732cfae12952dadb96c2b4fb1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=A7=E5=B8=AB=E5=85=84=E4=B8=B6?= Date: Tue, 8 Oct 2024 11:28:21 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9AFix=20parameter=20spelling=20errors?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Utility/AppContextSwitchHelper.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Utility/AppContextSwitchHelper.cs b/src/Utility/AppContextSwitchHelper.cs index 34d985290..084717137 100644 --- a/src/Utility/AppContextSwitchHelper.cs +++ b/src/Utility/AppContextSwitchHelper.cs @@ -7,16 +7,16 @@ internal static class AppContextSwitchHelper /// /// Determines if either an AppContext switch or its corresponding Environment Variable is set /// - /// Name of the AppContext switch. + /// Name of the AppContext switch. /// Name of the Environment variable. /// If the AppContext switch has been set, returns the value of the switch. /// If the AppContext switch has not been set, returns the value of the environment variable. /// False if neither is set. /// - public static bool GetConfigValue(string appContexSwitchName, string environmentVariableName) + public static bool GetConfigValue(string appContextSwitchName, string environmentVariableName) { // First check for the AppContext switch, giving it priority over the environment variable. - if (AppContext.TryGetSwitch(appContexSwitchName, out bool value)) + if (AppContext.TryGetSwitch(appContextSwitchName, out bool value)) { return value; }