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

lucaslorentz / durabletask-extensions / 5805868292

pending completion
5805868292

push

github

lucaslorentz
Search by completed time

12 of 12 new or added lines in 5 files covered. (100.0%)

2311 of 2794 relevant lines covered (82.71%)

145.34 hits per line

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

0.0
/src/LLL.DurableTask.AzureStorage/DependencyInjection/AzureStorageServiceCollectionExtensions.cs
1
using System;
2
using DurableTask.AzureStorage;
3
using DurableTask.Core;
4
using DurableTask.Core.Query;
5
using LLL.DurableTask.Core;
6
using LLL.DurableTaskExtensions.AzureStorage;
7
using Microsoft.Extensions.Options;
8

9
namespace Microsoft.Extensions.DependencyInjection
10
{
11
    public static class AzureStorageServiceCollectionExtensions
12
    {
13
        public static IServiceCollection AddDurableTaskAzureStorage(
14
            this IServiceCollection services,
15
            Action<AzureStorageOrchestrationServiceSettings> configure)
16
        {
17
            services.AddOptions<AzureStorageOrchestrationServiceSettings>()
×
18
                .Configure(configure);
×
19

20
            services.AddTransient(p => p.GetRequiredService<IOptions<AzureStorageOrchestrationServiceSettings>>().Value);
×
21

22
            services.AddSingleton<AzureStorageOrchestrationService>();
×
23
            services.AddSingleton<AzureStorageOrchestrationServiceRewindClient>();
×
24

25
            services.AddSingleton<IOrchestrationService>(p => p.GetService<AzureStorageOrchestrationService>());
×
26
            services.AddSingleton<IOrchestrationServiceClient>(p => p.GetService<AzureStorageOrchestrationService>());
×
27
            services.AddSingleton<IOrchestrationServiceQueryClient>(p => p.GetService<AzureStorageOrchestrationService>());
×
28
            services.AddSingleton<IOrchestrationServicePurgeClient>(p => p.GetService<AzureStorageOrchestrationService>());
×
29
            services.AddSingleton<IOrchestrationServiceFeaturesClient>(p => p.GetService<AzureStorageOrchestrationServiceFeaturesClient>());
×
30
            services.AddSingleton<IOrchestrationServiceRewindClient>(p => p.GetService<AzureStorageOrchestrationServiceRewindClient>());
×
31

32
            return services;
×
33
        }
34
    }
35
}
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

© 2025 Coveralls, Inc