< Summary

Information
Class: Elsa.Workflows.Management.Models.SaveWorkflowDefinitionRequest
Assembly: Elsa.Workflows.Management
File(s): /home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Workflows.Management/Models/SaveWorkflowDefinitionRequest.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
get_Model()100%11100%
get_Publish()100%11100%

File(s)

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

#LineLine coverage
 1namespace Elsa.Workflows.Management.Models
 2{
 3    /// <summary>
 4    /// Represents a request to save a workflow definition.
 5    /// </summary>
 6    public class SaveWorkflowDefinitionRequest
 7    {
 8        /// <summary>
 9        /// The workflow definition to save.
 10        /// </summary>
 811        public WorkflowDefinitionModel Model { get; set; } = null!;
 12
 13        /// <summary>
 14        /// Whether the workflow definition should be published.
 15        /// </summary>
 816        public bool? Publish { get; set; }
 17    }
 18}

Methods/Properties

get_Model()
get_Publish()