File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -32,11 +32,11 @@ class MockComponent : BootstrapModuleComponentBase
3232
3333 public async Task InvokeVoidAsyncTest ( )
3434 {
35- await base . InvokeVoidAsync ( Id ) ;
36- await base . InvokeVoidAsync ( Id , TimeSpan . FromMinutes ( 1 ) ) ;
35+ await InvokeVoidAsync ( Id ) ;
36+ await InvokeVoidAsync ( Id , TimeSpan . FromMinutes ( 1 ) ) ;
3737
3838 using CancellationTokenSource cancellationTokenSource = new CancellationTokenSource ( 1000 ) ;
39- await base . InvokeVoidAsync ( Id , cancellationTokenSource . Token ) ;
39+ await InvokeVoidAsync ( Id , cancellationTokenSource . Token ) ;
4040
4141 InvokeVoidRunner = true ;
4242 }
@@ -49,12 +49,11 @@ class MockObjectReferenceComponent : Select<string>
4949
5050 public async Task InvokeAsyncTest ( )
5151 {
52- // base 关键字不能省略
53- await base . InvokeAsync < string > ( Id ) ;
54- await base . InvokeAsync < string > ( Id , TimeSpan . FromMinutes ( 1 ) ) ;
52+ await InvokeAsync < string > ( Id ) ;
53+ await InvokeAsync < string > ( Id , TimeSpan . FromMinutes ( 1 ) ) ;
5554
5655 using CancellationTokenSource cancellationTokenSource = new CancellationTokenSource ( 1000 ) ;
57- await base . InvokeAsync < string > ( Id , cancellationTokenSource . Token ) ;
56+ await InvokeAsync < string > ( Id , cancellationTokenSource . Token ) ;
5857
5958 InvokeRunner = true ;
6059 }
You can’t perform that action at this time.
0 commit comments