< Summary

Information
Class: Elsa.Workflows.Management.Models.UpdateWorkflowReferencesResult
Assembly: Elsa.Workflows.Management
File(s): /home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Workflows.Management/Models/UpdateWorkflowReferencesResult.cs
Line coverage
100%
Covered lines: 2
Uncovered lines: 0
Coverable lines: 2
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
.ctor(...)100%11100%
get_UpdatedWorkflows()100%11100%

File(s)

/home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Workflows.Management/Models/UpdateWorkflowReferencesResult.cs

#LineLine coverage
 1using Elsa.Workflows.Management.Entities;
 2using Elsa.Workflows.Models;
 3
 4namespace Elsa.Workflows.Management.Models;
 5
 6/// <summary>
 7/// Represents the result of updating workflow references.
 8/// </summary>
 59public class UpdateWorkflowReferencesResult(IEnumerable<WorkflowDefinition> updatedWorkflows)
 10{
 11    /// <summary>
 12    /// Gets a collection of workflow graphs that have been updated.
 13    /// </summary>
 14    /// <value>
 15    /// A read-only collection of <see cref="WorkflowGraph"/> instances representing the updated workflows.
 16    /// </value>
 1017    public IReadOnlyCollection<WorkflowDefinition> UpdatedWorkflows { get; } = updatedWorkflows.ToList();
 18}