< Summary

Information
Class: Elsa.Api.Client.Resources.Scripting.Requests.GetWorkflowJavaScriptDefinitionRequest
Assembly: Elsa.Api.Client
File(s): /home/runner/work/elsa-core/elsa-core/src/clients/Elsa.Api.Client/Resources/Scripting/Requests/GetWorkflowJavaScriptDefinitionRequest.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 4
Coverable lines: 4
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
.ctor(...)100%210%
get_WorkflowDefinitionId()100%210%
get_ActivityTypeName()100%210%
get_PropertyName()100%210%

File(s)

/home/runner/work/elsa-core/elsa-core/src/clients/Elsa.Api.Client/Resources/Scripting/Requests/GetWorkflowJavaScriptDefinitionRequest.cs

#LineLine coverage
 1namespace Elsa.Api.Client.Resources.Scripting.Requests;
 2
 3/// <summary>
 4/// A request to retrieve the type definitions
 5/// </summary>
 06public class GetWorkflowJavaScriptDefinitionRequest(string workflowDefinitionId, string? activityTypeName, string? prope
 7{
 8    /// <summary>
 9    /// Gets or sets workflow definition to retrieve type definitions for.
 10    /// </summary>
 011    public string WorkflowDefinitionId { get; set; } = workflowDefinitionId;
 12
 13    /// <summary>
 14    /// Gets or sets the type name of the activity to retrieve type definitions for.
 15    /// </summary>
 016    public string? ActivityTypeName { get; set; } = activityTypeName;
 17
 18    /// <summary>
 19    /// Gets or sets the name of the property to retrieve type definitions for.
 20    /// </summary>
 021    public string? PropertyName { get; set; } = propertyName;
 22}