@@ -221,7 +221,7 @@ public ChromiumNetworkConditions NetworkConditions
221221 throw new ArgumentNullException ( nameof ( value ) , "value must not be null" ) ;
222222 }
223223
224- Dictionary < string , object > parameters = new Dictionary < string , object > ( ) ;
224+ Dictionary < string , object ? > parameters = new Dictionary < string , object ? > ( ) ;
225225 parameters [ "network_conditions" ] = value ;
226226
227227 this . Execute ( SetNetworkConditionsCommand , parameters ) ;
@@ -240,7 +240,7 @@ public void LaunchApp(string id)
240240 throw new ArgumentNullException ( nameof ( id ) , "id must not be null" ) ;
241241 }
242242
243- Dictionary < string , object > parameters = new Dictionary < string , object > ( ) ;
243+ Dictionary < string , object ? > parameters = new Dictionary < string , object ? > ( ) ;
244244 parameters [ "id" ] = id ;
245245
246246 this . Execute ( LaunchAppCommand , parameters ) ;
@@ -264,9 +264,9 @@ public void SetPermission(string permissionName, string permissionValue)
264264 throw new ArgumentNullException ( nameof ( permissionValue ) , "value must not be null" ) ;
265265 }
266266
267- Dictionary < string , object > nameParameter = new Dictionary < string , object > ( ) ;
267+ Dictionary < string , object ? > nameParameter = new Dictionary < string , object ? > ( ) ;
268268 nameParameter [ "name" ] = permissionName ;
269- Dictionary < string , object > parameters = new Dictionary < string , object > ( ) ;
269+ Dictionary < string , object ? > parameters = new Dictionary < string , object ? > ( ) ;
270270 parameters [ "descriptor" ] = nameParameter ;
271271 parameters [ "state" ] = permissionValue ;
272272 this . Execute ( SetPermissionCommand , parameters ) ;
@@ -279,14 +279,14 @@ public void SetPermission(string permissionName, string permissionValue)
279279 /// <param name="commandParameters">Parameters of the command to execute.</param>
280280 /// <returns>An object representing the result of the command, if applicable.</returns>
281281 /// <exception cref="ArgumentNullException">If <paramref name="commandName"/> is <see langword="null"/>.</exception>
282- public object ? ExecuteCdpCommand ( string commandName , Dictionary < string , object > commandParameters )
282+ public object ? ExecuteCdpCommand ( string commandName , Dictionary < string , object ? > commandParameters )
283283 {
284284 if ( commandName == null )
285285 {
286286 throw new ArgumentNullException ( nameof ( commandName ) , "commandName must not be null" ) ;
287287 }
288288
289- Dictionary < string , object > parameters = new Dictionary < string , object > ( ) ;
289+ Dictionary < string , object ? > parameters = new Dictionary < string , object ? > ( ) ;
290290 parameters [ "cmd" ] = commandName ;
291291 parameters [ "params" ] = commandParameters ;
292292 Response response = this . Execute ( ExecuteCdp , parameters ) ;
@@ -404,7 +404,7 @@ public void SelectCastSink(string deviceName)
404404 throw new ArgumentNullException ( nameof ( deviceName ) , "deviceName must not be null" ) ;
405405 }
406406
407- Dictionary < string , object > parameters = new Dictionary < string , object > ( ) ;
407+ Dictionary < string , object ? > parameters = new Dictionary < string , object ? > ( ) ;
408408 parameters [ "sinkName" ] = deviceName ;
409409 this . Execute ( SelectCastSinkCommand , parameters ) ;
410410 }
@@ -420,7 +420,7 @@ public void StartTabMirroring(string deviceName)
420420 throw new ArgumentNullException ( nameof ( deviceName ) , "deviceName must not be null" ) ;
421421 }
422422
423- Dictionary < string , object > parameters = new Dictionary < string , object > ( ) ;
423+ Dictionary < string , object ? > parameters = new Dictionary < string , object ? > ( ) ;
424424 parameters [ "sinkName" ] = deviceName ;
425425 this . Execute ( StartCastTabMirroringCommand , parameters ) ;
426426 }
@@ -436,7 +436,7 @@ public void StartDesktopMirroring(string deviceName)
436436 throw new ArgumentNullException ( nameof ( deviceName ) , "deviceName must not be null" ) ;
437437 }
438438
439- Dictionary < string , object > parameters = new Dictionary < string , object > ( ) ;
439+ Dictionary < string , object ? > parameters = new Dictionary < string , object ? > ( ) ;
440440 parameters [ "sinkName" ] = deviceName ;
441441 this . Execute ( StartCastDesktopMirroringCommand , parameters ) ;
442442 }
@@ -462,7 +462,7 @@ public void StopCasting(string deviceName)
462462 throw new ArgumentNullException ( nameof ( deviceName ) , "deviceName must not be null" ) ;
463463 }
464464
465- Dictionary < string , object > parameters = new Dictionary < string , object > ( ) ;
465+ Dictionary < string , object ? > parameters = new Dictionary < string , object ? > ( ) ;
466466 parameters [ "sinkName" ] = deviceName ;
467467 this . Execute ( StopCastingCommand , parameters ) ;
468468 }
0 commit comments