< Summary

Information
Class: Elsa.KeyValues.Entities.SerializedKeyValuePair
Assembly: Elsa.KeyValues
File(s): /home/runner/work/elsa-core/elsa-core/src/modules/Elsa.KeyValues/Entities/SerializedKeyValuePair.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 3
Coverable lines: 3
Total lines: 23
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_Key()100%210%
set_Key(...)100%210%
get_SerializedValue()100%210%

File(s)

/home/runner/work/elsa-core/elsa-core/src/modules/Elsa.KeyValues/Entities/SerializedKeyValuePair.cs

#LineLine coverage
 1using Elsa.Common.Entities;
 2
 3namespace Elsa.KeyValues.Entities;
 4
 5/// <summary>
 6/// Represents a key-value pair with a serialized value.
 7/// </summary>
 8public class SerializedKeyValuePair : Entity
 9{
 10    /// <summary>
 11    /// Gets or sets the key.
 12    /// </summary>
 13    public string Key
 14    {
 015        get => Id;
 016        set => Id = value;
 17    }
 18
 19    /// <summary>
 20    /// Gets or sets the serialized value.
 21    /// </summary>
 022    public string SerializedValue { get; set; } = default!;
 23}