@@ -38,9 +38,9 @@ public class AzureContextModificationCmdlet : AzureRMCmdlet
38
38
39
39
40
40
/// <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
42
42
/// </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>
44
44
protected virtual void ModifyContext ( Action < AzureRmProfile , RMProfileClient > contextAction )
45
45
{
46
46
using ( var profile = GetDefaultProfile ( ) )
@@ -50,7 +50,7 @@ protected virtual void ModifyContext(Action<AzureRmProfile, RMProfileClient> con
50
50
}
51
51
52
52
/// <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
54
54
/// </summary>
55
55
/// <param name="profileAction">The action to take over the given profile</param>
56
56
protected virtual void ModifyProfile ( Action < IProfileOperations > profileAction )
@@ -83,15 +83,15 @@ protected virtual IProfileOperations GetDefaultProfile()
83
83
}
84
84
85
85
/// <summary>
86
- /// Get the context modification scope for the current cmdlet invoication
86
+ /// Get the context modification scope for the current cmdlet invocation
87
87
/// </summary>
88
88
/// <returns>Process if the cmdlet should only change the current process, CurrentUser
89
89
/// if any changes should occur globally.</returns>
90
90
protected virtual ContextModificationScope GetContextModificationScope ( )
91
91
{
92
92
ContextModificationScope scope = ScopeHelpers . GetContextModificationScopeForProcess ( WriteDebugWithTimestamp ) ;
93
93
94
- // override default scope with appropriate scope for thsi cmdlet invocation
94
+ // override default scope with appropriate scope for this cmdlet invocation
95
95
if ( MyInvocation != null && MyInvocation . BoundParameters != null && MyInvocation . BoundParameters . ContainsKey ( nameof ( DefaultProfile ) ) )
96
96
{
97
97
// never autosave with a passed-in profile
0 commit comments