| | 1 | | //using Blazored.LocalStorage; |
| | 2 | | using Microsoft.Extensions.Configuration; |
| | 3 | | using Microsoft.Extensions.DependencyInjection; |
| | 4 | | using Microsoft.Extensions.Options; |
| | 5 | | using System; |
| | 6 | | using System.Collections.Generic; |
| | 7 | | using System.Linq; |
| | 8 | | using System.Net.NetworkInformation; |
| | 9 | | using System.Text; |
| | 10 | | using System.Threading.Tasks; |
| | 11 | | using TELBlazor.Components.Core.Configuration; |
| | 12 | | using TELBlazor.Components.OptionalImplementations.Test.TestComponents.SearchExperiment; |
| | 13 | |
|
| | 14 | | namespace TELBlazor.Components.OptionalImplementations.Core.DI |
| | 15 | | { |
| | 16 | | public static class DI |
| | 17 | | { |
| | 18 | |
|
| | 19 | | private static IServiceCollection AddTELBlazorComponentServicessShared(this IServiceCollection services, |
| | 20 | | ITELBlazorBaseComponentConfiguration TELBlazorBaseComponentConfiguration |
| | 21 | | ) |
| 0 | 22 | | { |
| 0 | 23 | | throw new NotImplementedException("This method is not implemented yet. See DI task"); |
| | 24 | | } |
| | 25 | | public static IServiceCollection AddTELBlazorComponentServicesClient(this IServiceCollection services, |
| | 26 | |
|
| | 27 | | ITELBlazorBaseComponentConfiguration TELBlazorBaseComponentConfiguration |
| | 28 | | ) |
| 0 | 29 | | { |
| 0 | 30 | | throw new NotImplementedException("This method is not implemented yet. See DI task"); |
| | 31 | | } |
| | 32 | | public static IServiceCollection AddTELBlazorComponentServicesServer(this IServiceCollection services, |
| | 33 | |
|
| | 34 | | ITELBlazorBaseComponentConfiguration TELBlazorBaseComponentConfiguration |
| | 35 | | ) |
| 0 | 36 | | { |
| 0 | 37 | | throw new NotImplementedException("This method is not implemented yet. See DI task"); |
| | 38 | | } |
| | 39 | | public static IServiceCollection AddTELBlazorComponentServicesForTestComponents(this IServiceCollection services |
| 36 | 40 | | { |
| 36 | 41 | | services.AddHttpClient(); |
| 36 | 42 | | services.AddScoped<ISearchExperimentService, SearchExperimentServiceOpenApi>(); |
| 36 | 43 | | return services; |
| 36 | 44 | | } |
| | 45 | |
|
| | 46 | | } |
| | 47 | | } |