< Summary

Information
Class: Elsa.Workflows.Runtime.Results.CancellationResult
Assembly: Elsa.Workflows.Runtime
File(s): /home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Workflows.Runtime/Results/CancellationResult.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 1
Coverable lines: 1
Total lines: 9
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_Success()100%210%

File(s)

/home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Workflows.Runtime/Results/CancellationResult.cs

#LineLine coverage
 1namespace Elsa.Workflows.Runtime.Results;
 2
 3/// <summary>
 4/// Represents the result of a cancellation operation.
 5/// </summary>
 6/// <param name="Success">True if the operation was successful; otherwise, false.</param>
 7/// <param name="Reason">The reason for the failure, if any.</param>
 8[Obsolete("This type is obsolete. Use the new CreateClientAsync methods of IWorkflowRuntime instead.")]
 09public record CancellationResult(bool Success, CancellationFailureReason? Reason = null);

Methods/Properties

get_Success()