File tree Expand file tree Collapse file tree 1 file changed +12
-12
lines changed
src/Components/Components/src Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -53,18 +53,6 @@ void IDisposable.Dispose()
5353 GC . SuppressFinalize ( this ) ;
5454 }
5555
56- /// <summary>
57- /// Asynchronously releases the service scope used by the component.
58- /// </summary>
59- /// <returns>A task that represents the asynchronous dispose operation.</returns>
60- public async ValueTask DisposeAsync ( )
61- {
62- await DisposeAsyncCore ( ) . ConfigureAwait ( false ) ;
63-
64- Dispose ( disposing : false ) ;
65- GC . SuppressFinalize ( this ) ;
66- }
67-
6856 /// <summary>
6957 /// Releases the service scope used by the component.
7058 /// </summary>
@@ -88,6 +76,18 @@ protected virtual void Dispose(bool disposing)
8876 }
8977 }
9078
79+ /// <summary>
80+ /// Asynchronously releases the service scope used by the component.
81+ /// </summary>
82+ /// <returns>A task that represents the asynchronous dispose operation.</returns>
83+ async ValueTask IAsyncDisposable . DisposeAsync ( )
84+ {
85+ await DisposeAsyncCore ( ) . ConfigureAwait ( false ) ;
86+
87+ Dispose ( disposing : false ) ;
88+ GC . SuppressFinalize ( this ) ;
89+ }
90+
9191 /// <summary>
9292 /// Asynchronously releases the service scope used by the component.
9393 /// </summary>
You can’t perform that action at this time.
0 commit comments