< Summary

Information
Class: Elsa.Workflows.Api.Endpoints.ActivityDescriptorOptions.Get.Request
Assembly: Elsa.Workflows.Api
File(s): /home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Workflows.Api/Endpoints/ActivityDescriptorOptions/Get/Models.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 4
Coverable lines: 4
Total lines: 19
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
get_ActivityTypeName()100%210%
get_Version()100%210%
get_PropertyName()100%210%
get_Context()100%210%

File(s)

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

#LineLine coverage
 1using JetBrains.Annotations;
 2
 3namespace Elsa.Workflows.Api.Endpoints.ActivityDescriptorOptions.Get;
 4
 5internal class Request
 6{
 7
 08    public string ActivityTypeName { get; set; } = default!;
 09    public int? Version { get; set; }
 010    public string PropertyName { get; set; } = default!;
 11
 012    public object? Context { get; set; }
 13}
 14
 15[PublicAPI]
 16internal class Response(IDictionary<string, object> items)
 17{
 18    public IDictionary<string, object> Items { get; set; } = items;
 19}