File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments