< Summary

Information
Class: CounterpointCollective.Dataflow.Notifying.NotifyingExtensions
Assembly: Dataflow.Composable
File(s): /builds/counterpointcollective/composabledataflowblocks/Source/Dataflow.Composable/DataFlow/Notifying/NotifyingExtensions.cs
Line coverage
100%
Covered lines: 2
Uncovered lines: 0
Coverable lines: 2
Total lines: 13
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
WithNotification(...)100%11100%
WithNotification(...)100%11100%

File(s)

/builds/counterpointcollective/composabledataflowblocks/Source/Dataflow.Composable/DataFlow/Notifying/NotifyingExtensions.cs

#LineLine coverage
 1using System.Threading.Tasks.Dataflow;
 2
 3namespace CounterpointCollective.Dataflow.Notifying
 4{
 5    public static class NotifyingExtensions
 6    {
 7        public static NotifyingPropagatorBlock<I, O> WithNotification<I, O>(this IPropagatorBlock<I,O> b, ConfigureHooks
 428        => new(b, c);
 9
 10        public static NotifyingSourceBlock<T> WithNotification<T>(this ISourceBlock<T> b, ConfigureHooks<T> c)
 5611        => new(b, c);
 12    }
 13}