Skip to content

Commit 8a376a6

Browse files
authored
fix:Fix parameter spelling errors (#247)
Fix spelling error in comment in AppContextSwitchHelper.cs
1 parent b0f9e5c commit 8a376a6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Utility/AppContextSwitchHelper.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,16 @@ internal static class AppContextSwitchHelper
77
/// <summary>
88
/// Determines if either an AppContext switch or its corresponding Environment Variable is set
99
/// </summary>
10-
/// <param name="appContexSwitchName">Name of the AppContext switch.</param>
10+
/// <param name="appContextSwitchName">Name of the AppContext switch.</param>
1111
/// <param name="environmentVariableName">Name of the Environment variable.</param>
1212
/// <returns>If the AppContext switch has been set, returns the value of the switch.
1313
/// If the AppContext switch has not been set, returns the value of the environment variable.
1414
/// False if neither is set.
1515
/// </returns>
16-
public static bool GetConfigValue(string appContexSwitchName, string environmentVariableName)
16+
public static bool GetConfigValue(string appContextSwitchName, string environmentVariableName)
1717
{
1818
// First check for the AppContext switch, giving it priority over the environment variable.
19-
if (AppContext.TryGetSwitch(appContexSwitchName, out bool value))
19+
if (AppContext.TryGetSwitch(appContextSwitchName, out bool value))
2020
{
2121
return value;
2222
}

0 commit comments

Comments
 (0)