@@ -30,53 +30,53 @@ public sealed class BrowserModule : Module
3030
3131 public async Task < CloseResult > CloseAsync ( CloseOptions ? options = null )
3232 {
33- return await Broker . ExecuteCommandAsync ( new CloseCommand ( ) , options , _jsonContext . CloseCommand , _jsonContext . CloseResult ) . ConfigureAwait ( false ) ;
33+ return await ExecuteCommandAsync ( new CloseCommand ( ) , options , _jsonContext . CloseCommand , _jsonContext . CloseResult ) . ConfigureAwait ( false ) ;
3434 }
3535
3636 public async Task < CreateUserContextResult > CreateUserContextAsync ( CreateUserContextOptions ? options = null )
3737 {
3838 var @params = new CreateUserContextParameters ( options ? . AcceptInsecureCerts , options ? . Proxy , options ? . UnhandledPromptBehavior ) ;
3939
40- return await Broker . ExecuteCommandAsync ( new CreateUserContextCommand ( @params ) , options , _jsonContext . CreateUserContextCommand , _jsonContext . CreateUserContextResult ) . ConfigureAwait ( false ) ;
40+ return await ExecuteCommandAsync ( new CreateUserContextCommand ( @params ) , options , _jsonContext . CreateUserContextCommand , _jsonContext . CreateUserContextResult ) . ConfigureAwait ( false ) ;
4141 }
4242
4343 public async Task < GetUserContextsResult > GetUserContextsAsync ( GetUserContextsOptions ? options = null )
4444 {
45- return await Broker . ExecuteCommandAsync ( new GetUserContextsCommand ( ) , options , _jsonContext . GetUserContextsCommand , _jsonContext . GetUserContextsResult ) . ConfigureAwait ( false ) ;
45+ return await ExecuteCommandAsync ( new GetUserContextsCommand ( ) , options , _jsonContext . GetUserContextsCommand , _jsonContext . GetUserContextsResult ) . ConfigureAwait ( false ) ;
4646 }
4747
4848 public async Task < RemoveUserContextResult > RemoveUserContextAsync ( UserContext userContext , RemoveUserContextOptions ? options = null )
4949 {
5050 var @params = new RemoveUserContextParameters ( userContext ) ;
5151
52- return await Broker . ExecuteCommandAsync ( new RemoveUserContextCommand ( @params ) , options , _jsonContext . RemoveUserContextCommand , _jsonContext . RemoveUserContextResult ) . ConfigureAwait ( false ) ;
52+ return await ExecuteCommandAsync ( new RemoveUserContextCommand ( @params ) , options , _jsonContext . RemoveUserContextCommand , _jsonContext . RemoveUserContextResult ) . ConfigureAwait ( false ) ;
5353 }
5454
5555 public async Task < GetClientWindowsResult > GetClientWindowsAsync ( GetClientWindowsOptions ? options = null )
5656 {
57- return await Broker . ExecuteCommandAsync ( new ( ) , options , _jsonContext . GetClientWindowsCommand , _jsonContext . GetClientWindowsResult
57+ return await ExecuteCommandAsync ( new ( ) , options , _jsonContext . GetClientWindowsCommand , _jsonContext . GetClientWindowsResult
5858 ) . ConfigureAwait ( false ) ;
5959 }
6060
6161 public async Task < SetDownloadBehaviorResult > SetDownloadBehaviorAllowedAsync ( string destinationFolder , SetDownloadBehaviorOptions ? options = null )
6262 {
6363 var @params = new SetDownloadBehaviorParameters ( new DownloadBehaviorAllowed ( destinationFolder ) , options ? . UserContexts ) ;
6464
65- return await Broker . ExecuteCommandAsync ( new SetDownloadBehaviorCommand ( @params ) , options , _jsonContext . SetDownloadBehaviorCommand , _jsonContext . SetDownloadBehaviorResult ) . ConfigureAwait ( false ) ;
65+ return await ExecuteCommandAsync ( new SetDownloadBehaviorCommand ( @params ) , options , _jsonContext . SetDownloadBehaviorCommand , _jsonContext . SetDownloadBehaviorResult ) . ConfigureAwait ( false ) ;
6666 }
6767
6868 public async Task < SetDownloadBehaviorResult > SetDownloadBehaviorAllowedAsync ( SetDownloadBehaviorOptions ? options = null )
6969 {
7070 var @params = new SetDownloadBehaviorParameters ( null , options ? . UserContexts ) ;
7171
72- return await Broker . ExecuteCommandAsync ( new SetDownloadBehaviorCommand ( @params ) , options , _jsonContext . SetDownloadBehaviorCommand , _jsonContext . SetDownloadBehaviorResult ) . ConfigureAwait ( false ) ;
72+ return await ExecuteCommandAsync ( new SetDownloadBehaviorCommand ( @params ) , options , _jsonContext . SetDownloadBehaviorCommand , _jsonContext . SetDownloadBehaviorResult ) . ConfigureAwait ( false ) ;
7373 }
7474
7575 public async Task < SetDownloadBehaviorResult > SetDownloadBehaviorDeniedAsync ( SetDownloadBehaviorOptions ? options = null )
7676 {
7777 var @params = new SetDownloadBehaviorParameters ( new DownloadBehaviorDenied ( ) , options ? . UserContexts ) ;
7878
79- return await Broker . ExecuteCommandAsync ( new SetDownloadBehaviorCommand ( @params ) , options , _jsonContext . SetDownloadBehaviorCommand , _jsonContext . SetDownloadBehaviorResult ) . ConfigureAwait ( false ) ;
79+ return await ExecuteCommandAsync ( new SetDownloadBehaviorCommand ( @params ) , options , _jsonContext . SetDownloadBehaviorCommand , _jsonContext . SetDownloadBehaviorResult ) . ConfigureAwait ( false ) ;
8080 }
8181
8282 protected override void Initialize ( JsonSerializerOptions jsonSerializerOptions )
0 commit comments