File tree Expand file tree Collapse file tree
src/components/BootstrapBlazor.BaiduSpeech/Extensions Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- // Copyright (c) Argo Zhang (argo@163.com). All rights reserved.
1+ // Copyright (c) Argo Zhang (argo@163.com). All rights reserved.
22// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
33// Website: https://www.blazor.zone or https://argozhang.github.io/
44
@@ -21,9 +21,6 @@ public static class ServiceCollectionExtension
2121 public static IServiceCollection AddBootstrapBlazorBaiduSpeech ( this IServiceCollection services , Action <
2222 BaiduSpeechOption > ? configOptions = null )
2323 {
24- services . AddHttpClient ( ) ;
25- services . AddMemoryCache ( ) ;
26-
2724 services . TryAddScoped < RecognizerService > ( ) ;
2825 services . AddScoped < IRecognizerProvider , BaiduRecognizerProvider > ( ) ;
2926
You can’t perform that action at this time.
0 commit comments