• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

loresoft / FluentCommand / 16301005024

15 Jul 2025 06:03PM UTC coverage: 54.951%. First build
16301005024

push

github

pwelter34
import data tweaks, xml doc updates

1716 of 3630 branches covered (47.27%)

Branch coverage included in aggregate %.

78 of 143 new or added lines in 11 files covered. (54.55%)

4361 of 7429 relevant lines covered (58.7%)

231.01 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/FluentCommand.SqlServer/ImportServiceCollectionExtensions.cs
1
using FluentCommand.Import;
2

3
using Microsoft.Extensions.DependencyInjection;
4
using Microsoft.Extensions.DependencyInjection.Extensions;
5

6
namespace FluentCommand;
7

8
/// <summary>
9
/// Provides extension methods for registering FluentCommand import services with an <see cref="IServiceCollection"/>.
10
/// </summary>
11
public static class ImportServiceCollectionExtensions
12
{
13
    /// <summary>
14
    /// Registers FluentCommand import services and related dependencies with the specified <see cref="IServiceCollection"/>.
15
    /// </summary>
16
    /// <param name="services">The <see cref="IServiceCollection"/> to add the services to.</param>
17
    /// <returns>
18
    /// The same <see cref="IServiceCollection"/> instance so that additional calls can be chained.
19
    /// </returns>
20
    /// <remarks>
21
    /// This method registers the following services:
22
    /// <list type="bullet">
23
    /// <item><description><see cref="ImportValidator"/> as a transient service.</description></item>
24
    /// <item><description><see cref="IImportProcessor"/> as a transient service implemented by <see cref="ImportProcessor"/>.</description></item>
25
    /// </list>
26
    /// </remarks>
27
    public static IServiceCollection AddFluentImport(this IServiceCollection services)
28
    {
29
        services.TryAddTransient<ImportValidator>();
×
NEW
30
        services.TryAddKeyedTransient<IImportValidator, ImportValidator>(nameof(ImportValidator));
×
31

32
        services.TryAddTransient<IImportProcessor, ImportProcessor>();
×
33

34
        return services;
×
35
    }
36
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc