< Summary

Information
Class: Elsa.Alterations.Endpoints.Alterations.Run.Request
Assembly: Elsa.Alterations
File(s): /home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Alterations/Endpoints/Alterations/Run/Request.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 2
Coverable lines: 2
Total lines: 20
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_Alterations()100%210%
get_WorkflowInstanceIds()100%210%

File(s)

/home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Alterations/Endpoints/Alterations/Run/Request.cs

#LineLine coverage
 1using Elsa.Alterations.Core.Contracts;
 2// ReSharper disable CollectionNeverUpdated.Global
 3
 4namespace Elsa.Alterations.Endpoints.Alterations.Run;
 5
 6/// <summary>
 7/// A plan that contains a list of alterations to be applied to a set of workflow instances.
 8/// </summary>
 9public class Request
 10{
 11    /// <summary>
 12    /// The alterations to be applied.
 13    /// </summary>
 014    public ICollection<IAlteration> Alterations { get; set; } = new List<IAlteration>();
 15
 16    /// <summary>
 17    /// The IDs of the workflow instances that this plan applies to.
 18    /// </summary>
 019    public ICollection<string> WorkflowInstanceIds { get; set; } = new List<string>();
 20}