< Summary

Information
Class: Elsa.Workflows.Management.Notifications.WorkflowDefinitionPublished
Assembly: Elsa.Workflows.Management
File(s): /home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Workflows.Management/Notifications/WorkflowDefinitionPublished.cs
Line coverage
100%
Covered lines: 1
Uncovered lines: 0
Coverable lines: 1
Total lines: 14
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_WorkflowDefinition()100%11100%

File(s)

/home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Workflows.Management/Notifications/WorkflowDefinitionPublished.cs

#LineLine coverage
 1using Elsa.Mediator.Contracts;
 2using Elsa.Workflows.Management.Entities;
 3using Elsa.Workflows.Management.Models;
 4using JetBrains.Annotations;
 5
 6namespace Elsa.Workflows.Management.Notifications;
 7
 8/// <summary>
 9/// A notification that is sent when a workflow definition is published.
 10/// </summary>
 11/// <param name="WorkflowDefinition">The workflow definition.</param>
 12/// <param name="AffectedWorkflows">The affected workflows.</param>
 13[PublicAPI]
 3514public record WorkflowDefinitionPublished(WorkflowDefinition WorkflowDefinition, AffectedWorkflows AffectedWorkflows) : 

Methods/Properties

get_WorkflowDefinition()