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

lucaslorentz / durabletask-extensions / 5835585770

pending completion
5835585770

push

github

lucaslorentz
Add husky and apply some code fixes

2502 of 2502 new or added lines in 91 files covered. (100.0%)

2298 of 2792 relevant lines covered (82.31%)

142.7 hits per line

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

80.0
/src/LLL.DurableTask.Server.Grpc/DependencyInjection/TaskHubServerBuilderExtensions.cs
1
using System;
2
using LLL.DurableTask.Server.Configuration;
3
using LLL.DurableTask.Server.Grpc;
4
using LLL.DurableTask.Server.Grpc.Server;
5

6
namespace Microsoft.Extensions.DependencyInjection;
7

8
public static class TaskHubServerBuilderExtensions
9
{
10
    public static ITaskHubServerBuilder AddGrpcEndpoints(
11
        this ITaskHubServerBuilder builder,
12
        Action<GrpcServerOrchestrationServiceOptions> configure = null
13
    )
14
    {
15
        builder.Services.AddOptions<GrpcServerOrchestrationServiceOptions>();
12✔
16

17
        if (configure != null)
12✔
18
            builder.Services.Configure<GrpcServerOrchestrationServiceOptions>(configure);
×
19

20
        builder.Services.AddSingleton<GrpcServerOrchestrationService>();
12✔
21
        return builder;
12✔
22
    }
23
}
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