< Summary

Information
Class: Elsa.Workflows.Api.Endpoints.ActivityDescriptors.List.Response
Assembly: Elsa.Workflows.Api
File(s): /home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Workflows.Api/Endpoints/ActivityDescriptors/List/Models.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 3
Coverable lines: 3
Total lines: 11
Line coverage: 0%
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
.ctor(...)100%210%
get_Items()100%210%
get_Count()100%210%

File(s)

/home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Workflows.Api/Endpoints/ActivityDescriptors/List/Models.cs

#LineLine coverage
 1using Elsa.Workflows.Models;
 2using JetBrains.Annotations;
 3
 4namespace Elsa.Workflows.Api.Endpoints.ActivityDescriptors.List;
 5
 6[PublicAPI]
 07internal class Response(ICollection<ActivityDescriptor> items)
 8{
 09    public ICollection<ActivityDescriptor> Items { get; set; } = items;
 010    public int Count => Items.Count;
 11}