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

lucaslorentz / durabletask-extensions / 11427474227

20 Oct 2024 03:22PM UTC coverage: 81.967%. Remained the same
11427474227

push

github

lucaslorentz
Update .net packages

2350 of 2867 relevant lines covered (81.97%)

138.88 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