File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
ResourceManager/Compute/Commands.Compute/Generated
ServiceManagement/Compute/Commands.ServiceManagement.Preview Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ protected override void ProcessRecord()
97
97
base . ProcessRecord ( ) ;
98
98
ExecuteClientAction ( ( ) =>
99
99
{
100
- if ( ParameterSetName == "InvokeByDynamicParameters" || ParameterSetName == "InvokeByDynamicParametersForFriendMethod" )
100
+ if ( ParameterSetName . StartsWith ( "InvokeByDynamicParameters" ) )
101
101
{
102
102
argumentList = ConvertDynamicParameters ( dynamicParameters ) ;
103
103
}
Original file line number Diff line number Diff line change @@ -338,7 +338,7 @@ $validate_all_method_names_code
338
338
base.ProcessRecord();
339
339
ExecuteClientAction(() =>
340
340
{
341
- if (ParameterSetName == `" $dynamic_param_set_name `" || ParameterSetName == `" ${dynamic_param_set_name} ForFriendMethod `" )
341
+ if (ParameterSetName.StartsWith( `" $dynamic_param_set_name `" ) )
342
342
{
343
343
argumentList = ConvertDynamicParameters(dynamicParameters);
344
344
}
Original file line number Diff line number Diff line change @@ -172,7 +172,7 @@ protected override void ProcessRecord()
172
172
base . ProcessRecord ( ) ;
173
173
ExecuteClientAction ( ( ) =>
174
174
{
175
- if ( ParameterSetName == "InvokeByDynamicParameters" || ParameterSetName == "InvokeByDynamicParametersForFriendMethod" )
175
+ if ( ParameterSetName . StartsWith ( "InvokeByDynamicParameters" ) )
176
176
{
177
177
argumentList = ConvertDynamicParameters ( dynamicParameters ) ;
178
178
}
You can’t perform that action at this time.
0 commit comments