< Summary

Information
Class: Elsa.Mediator.Middleware.Request.RequestPipelineBuilderExtensions
Assembly: Elsa.Mediator
File(s): /home/runner/work/elsa-core/elsa-core/src/common/Elsa.Mediator/Middleware/Request/RequestPipelineBuilderExtensions.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 2
Coverable lines: 2
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
UseRequestHandlers(...)100%210%
UseRequestLogging(...)100%210%

File(s)

/home/runner/work/elsa-core/elsa-core/src/common/Elsa.Mediator/Middleware/Request/RequestPipelineBuilderExtensions.cs

#LineLine coverage
 1using Elsa.Mediator.Middleware.Request.Components;
 2using Elsa.Mediator.Middleware.Request.Contracts;
 3
 4namespace Elsa.Mediator.Middleware.Request;
 5
 6/// <summary>
 7/// Provides a set of static methods for <see cref="IRequestPipelineBuilder"/>.
 8/// </summary>
 9public static class RequestPipelineBuilderExtensions
 10{
 11    /// <summary>
 12    /// Adds a request handler middleware to the pipeline.
 13    /// </summary>
 14    /// <param name="builder">The request pipeline builder.</param>
 015    public static IRequestPipelineBuilder UseRequestHandlers(this IRequestPipelineBuilder builder) => builder.UseMiddlew
 16
 17    /// <summary>
 18    /// Adds a request logging middleware to the pipeline.
 19    /// </summary>
 20    /// <param name="builder">The request pipeline builder.</param>
 021    public static IRequestPipelineBuilder UseRequestLogging(this IRequestPipelineBuilder builder) => builder.UseMiddlewa
 22}