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

lucaslorentz / durabletask-extensions / 9336995150

02 Jun 2024 08:43AM UTC coverage: 81.967% (+0.03%) from 81.942%
9336995150

push

github

lucaslorentz
Update to EF Core 8

6 of 6 new or added lines in 1 file covered. (100.0%)

2350 of 2867 relevant lines covered (81.97%)

139.01 hits per line

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

50.0
/src/LLL.DurableTask.Worker/OrchestrationContextStatusExtensions.cs
1
using System;
2

3
namespace LLL.DurableTask.Worker;
4

5
public static class OrchestrationContextStatusExtensions
6
{
7
    public static void SetStatusProvider<T>(
8
        this ExtendedOrchestrationContext context,
9
        Func<T> statusProvider)
10
    {
11
        if (statusProvider == null)
2✔
12
        {
13
            context.StatusProvider = null;
×
14
            return;
×
15
        }
16

17
        context.StatusProvider = () => context.MessageDataConverter.Serialize(statusProvider());
4✔
18
    }
19
}
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