Skip to content

Commit 441f36e

Browse files
authored
Fixed minor typos (#11921)
1 parent 4dc9cc1 commit 441f36e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/Accounts/Accounts/Common/AzureContextModificationCmdlet.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@ public class AzureContextModificationCmdlet : AzureRMCmdlet
3838

3939

4040
/// <summary>
41-
/// Modify the context according to the appropriate scope for this cmdlet invociation
41+
/// Modify the context according to the appropriate scope for this cmdlet invocation
4242
/// </summary>
43-
/// <param name="contextAction">The action that modifes the context given a profile and profile client</param>
43+
/// <param name="contextAction">The action that modifies the context given a profile and profile client</param>
4444
protected virtual void ModifyContext(Action<AzureRmProfile, RMProfileClient> contextAction)
4545
{
4646
using (var profile = GetDefaultProfile())
@@ -50,7 +50,7 @@ protected virtual void ModifyContext(Action<AzureRmProfile, RMProfileClient> con
5050
}
5151

5252
/// <summary>
53-
/// Modify the Profile according to the selected scope for thsi invocation
53+
/// Modify the Profile according to the selected scope for this invocation
5454
/// </summary>
5555
/// <param name="profileAction">The action to take over the given profile</param>
5656
protected virtual void ModifyProfile(Action<IProfileOperations> profileAction)
@@ -83,15 +83,15 @@ protected virtual IProfileOperations GetDefaultProfile()
8383
}
8484

8585
/// <summary>
86-
/// Get the context modification scope for the current cmdlet invoication
86+
/// Get the context modification scope for the current cmdlet invocation
8787
/// </summary>
8888
/// <returns>Process if the cmdlet should only change the current process, CurrentUser
8989
/// if any changes should occur globally.</returns>
9090
protected virtual ContextModificationScope GetContextModificationScope()
9191
{
9292
ContextModificationScope scope = ScopeHelpers.GetContextModificationScopeForProcess(WriteDebugWithTimestamp);
9393

94-
// override default scope with appropriate scope for thsi cmdlet invocation
94+
// override default scope with appropriate scope for this cmdlet invocation
9595
if (MyInvocation != null && MyInvocation.BoundParameters != null && MyInvocation.BoundParameters.ContainsKey(nameof(DefaultProfile)))
9696
{
9797
// never autosave with a passed-in profile

0 commit comments

Comments
 (0)