< Summary

Information
Class: Elsa.Api.Client.Shared.Models.OutputConverterConfiguration
Assembly: Elsa.Api.Client
File(s): /home/runner/work/elsa-core/elsa-core/src/clients/Elsa.Api.Client/Shared/Models/ActivityOutput.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 2
Coverable lines: 2
Total lines: 33
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_Id()100%210%
get_Settings()100%210%

File(s)

/home/runner/work/elsa-core/elsa-core/src/clients/Elsa.Api.Client/Shared/Models/ActivityOutput.cs

#LineLine coverage
 1using System.Text.Json;
 2
 3namespace Elsa.Api.Client.Shared.Models;
 4
 5/// <summary>
 6/// Represents an output binding for an activity.
 7/// </summary>
 8public class ActivityOutput
 9{
 10    /// <summary>
 11    /// Gets or sets the type of this output.
 12    /// </summary>
 13    public string TypeName { get; set; } = default!;
 14
 15    /// <summary>
 16    /// Gets or sets the memory reference of this output.
 17    /// </summary>
 18    public MemoryReference MemoryReference { get; set; } = default!;
 19
 20    /// <summary>
 21    /// Gets or sets the optional converter configured for this output binding.
 22    /// </summary>
 23    public OutputConverterConfiguration? Converter { get; set; }
 24}
 25
 26/// <summary>
 27/// Selects an output converter and provides its per-binding settings.
 28/// </summary>
 29public class OutputConverterConfiguration
 30{
 031    public string Id { get; set; } = default!;
 032    public JsonElement? Settings { get; set; }
 33}

Methods/Properties

get_Id()
get_Settings()