< Summary

Information
Class: TELBlazor.Components.OptionalImplementations.Core.DI.DI
Assembly: TELBlazor.Components
File(s): /home/runner/work/TELBlazor/TELBlazor/TELBlazor.Components/OptionalImplementations/Core/DI/DI.cs
Line coverage
45%
Covered lines: 5
Uncovered lines: 6
Coverable lines: 11
Total lines: 47
Line coverage: 45.4%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

File(s)

/home/runner/work/TELBlazor/TELBlazor/TELBlazor.Components/OptionalImplementations/Core/DI/DI.cs

#LineLine coverage
 1//using Blazored.LocalStorage;
 2using Microsoft.Extensions.Configuration;
 3using Microsoft.Extensions.DependencyInjection;
 4using Microsoft.Extensions.Options;
 5using System;
 6using System.Collections.Generic;
 7using System.Linq;
 8using System.Net.NetworkInformation;
 9using System.Text;
 10using System.Threading.Tasks;
 11using TELBlazor.Components.Core.Configuration;
 12using TELBlazor.Components.OptionalImplementations.Test.TestComponents.SearchExperiment;
 13
 14namespace 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            )
 022        {
 023            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            )
 029        {
 030            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            )
 036        {
 037            throw new NotImplementedException("This method is not implemented yet. See DI task");
 38        }
 39        public static IServiceCollection AddTELBlazorComponentServicesForTestComponents(this IServiceCollection services
 3640        {
 3641            services.AddHttpClient();
 3642            services.AddScoped<ISearchExperimentService, SearchExperimentServiceOpenApi>();
 3643            return services;
 3644        }
 45
 46    }
 47}