< Summary

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

File(s)

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

#LineLine coverage
 1using Elsa.Workflows.Management.Entities;
 2
 3namespace Elsa.Workflows.Management.Models;
 4
 5/// <summary>
 6/// Represents the result of importing a workflow definition.
 7/// </summary>
 8/// <param name="Succeeded">True if the import was successful, otherwise false.</param>
 9/// <param name="WorkflowDefinition">The imported workflow definition.</param>
 10/// <param name="ValidationErrors">Any validation errors that occurred during the import.</param>
 411public record ImportWorkflowResult(bool Succeeded, WorkflowDefinition WorkflowDefinition, ICollection<WorkflowValidation

Methods/Properties

get_Succeeded()