< Summary

Information
Class: Elsa.Workflows.Models.ArgumentDefinition
Assembly: Elsa.Workflows.Core
File(s): /home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Workflows.Core/Models/ArgumentDefinition.cs
Line coverage
100%
Covered lines: 5
Uncovered lines: 0
Coverable lines: 5
Total lines: 32
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_Type()100%11100%
get_Name()100%11100%
get_DisplayName()100%11100%
get_Description()100%11100%
get_Category()100%11100%

File(s)

/home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Workflows.Core/Models/ArgumentDefinition.cs

#LineLine coverage
 1namespace Elsa.Workflows.Models;
 2
 3/// <summary>
 4/// Base class for workflow input and output definitions.
 5/// </summary>
 6public abstract class ArgumentDefinition
 7{
 8    /// <summary>
 9    /// The type of the input value.
 10    /// </summary>
 172211    public Type Type { get; set; } = typeof(object);
 12
 13    /// <summary>
 14    /// The technical name of the input.
 15    /// </summary>
 101916    public string Name { get; set; } = default!;
 17
 18    /// <summary>
 19    /// A user friendly name of the input.
 20    /// </summary>
 144921    public string DisplayName { get; set; } = string.Empty;
 22
 23    /// <summary>
 24    /// A description of the input.
 25    /// </summary>
 139926    public string Description { get; set; } = string.Empty;
 27
 28    /// <summary>
 29    /// The category to which this input belongs.
 30    /// </summary>
 125731    public string Category { get; set; } = string.Empty;
 32}