< Summary

Information
Class: Elsa.Alterations.AlterationTypes.ModifyVariable
Assembly: Elsa.Alterations
File(s): /home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Alterations/AlterationTypes/ModifyVariable.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 2
Coverable lines: 2
Total lines: 22
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_VariableId()100%210%
get_Value()100%210%

File(s)

/home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Alterations/AlterationTypes/ModifyVariable.cs

#LineLine coverage
 1using Elsa.Alterations.Core.Abstractions;
 2using JetBrains.Annotations;
 3
 4namespace Elsa.Alterations.AlterationTypes;
 5
 6/// <summary>
 7/// Modifies a variable.
 8/// </summary>
 9[UsedImplicitly]
 10public class ModifyVariable : AlterationBase
 11{
 12    /// <summary>
 13    /// The ID of the variable to modify.
 14    /// </summary>
 015    public string VariableId { get; set; } = null!;
 16
 17    /// <summary>
 18    ///  The new value of the variable.
 19    /// </summary>
 020    public object? Value { get; set; }
 21
 22}

Methods/Properties

get_VariableId()
get_Value()