< Summary

Information
Class: Elsa.Mediator.Middleware.Notification.NotificationPipelineBuilderExtensions
Assembly: Elsa.Mediator
File(s): /home/runner/work/elsa-core/elsa-core/src/common/Elsa.Mediator/Middleware/Notification/NotificationPipelineBuilderExtensions.cs
Line coverage
50%
Covered lines: 1
Uncovered lines: 1
Coverable lines: 2
Total lines: 23
Line coverage: 50%
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
UseNotificationHandlers(...)100%11100%
UseNotificationLogging(...)100%210%

File(s)

/home/runner/work/elsa-core/elsa-core/src/common/Elsa.Mediator/Middleware/Notification/NotificationPipelineBuilderExtensions.cs

#LineLine coverage
 1using Elsa.Mediator.Middleware.Notification.Components;
 2using Elsa.Mediator.Middleware.Notification.Contracts;
 3
 4namespace Elsa.Mediator.Middleware.Notification;
 5
 6/// <summary>
 7/// Provides a set of static methods for building a notification pipeline.
 8/// </summary>
 9public static class NotificationPipelineBuilderExtensions
 10{
 11    /// <summary>
 12    /// Adds a notification handler invoker middleware to the notification pipeline.
 13    /// </summary>
 14    /// <param name="builder">The notification pipeline builder.</param>
 115    public static INotificationPipelineBuilder UseNotificationHandlers(this INotificationPipelineBuilder builder) => bui
 16
 17
 18    /// <summary>
 19    /// Adds a notification logging middleware to the notification pipeline.
 20    /// </summary>
 21    /// <param name="builder">The notification pipeline builder.</param>
 022    public static INotificationPipelineBuilder UseNotificationLogging(this INotificationPipelineBuilder builder) => buil
 23}