< Summary

Information
Class: Elsa.Extensions.BookmarkQueueItemExtensions
Assembly: Elsa.Workflows.Runtime
File(s): /home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Workflows.Runtime/Extensions/BookmarkQueueItemExtensions.cs
Line coverage
100%
Covered lines: 5
Uncovered lines: 0
Coverable lines: 5
Total lines: 18
Line coverage: 100%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
DeleteAsync(...)100%11100%

File(s)

/home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Workflows.Runtime/Extensions/BookmarkQueueItemExtensions.cs

#LineLine coverage
 1using Elsa.Workflows.Runtime;
 2using Elsa.Workflows.Runtime.Filters;
 3
 4// ReSharper disable once CheckNamespace
 5namespace Elsa.Extensions;
 6
 7public static class BookmarkQueueItemExtensions
 8{
 9    public static Task DeleteAsync(this IBookmarkQueueStore store, string id, CancellationToken cancellationToken = defa
 10    {
 1811        var filter = new BookmarkQueueFilter
 1812        {
 1813            Id = id
 1814        };
 15
 1816        return store.DeleteAsync(filter, cancellationToken);
 17    }
 18}