File tree Expand file tree Collapse file tree
src/components/BootstrapBlazor.AzureTranslator/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
@@ -20,8 +20,6 @@ public static class ServiceCollectionExtensions
2020 public static IServiceCollection AddBootstrapBlazorAzureTranslator ( this IServiceCollection services , Action <
2121 AzureTranslatorOption > ? configOptions = null )
2222 {
23- services . AddHttpClient ( ) ;
24-
2523 services . AddSingleton < IAzureTranslatorService , AzureTranslatorService > ( ) ;
2624 services . AddOptionsMonitor < AzureTranslatorOption > ( ) ;
2725
You can’t perform that action at this time.
0 commit comments