< Summary - CoreWCF Coverage — PR #1766

Information
Class: CoreWCF.Configuration.MapOptions
Assembly: CoreWCF.NetFramingBase
File(s): /home/runner/work/CoreWCF/CoreWCF/src/CoreWCF.NetFramingBase/src/CoreWCF/Configuration/MapOptions.cs
Line coverage
100%
Covered lines: 2
Uncovered lines: 0
Coverable lines: 2
Total lines: 24
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

File(s)

/home/runner/work/CoreWCF/CoreWCF/src/CoreWCF.NetFramingBase/src/CoreWCF/Configuration/MapOptions.cs

#LineLine coverage
 1// Licensed to the .NET Foundation under one or more agreements.
 2// The .NET Foundation licenses this file to you under the MIT license.
 3
 4using System;
 5using CoreWCF.Channels.Framing;
 6
 7namespace CoreWCF.Configuration
 8{
 9    /// <summary>
 10    /// Options for the <see cref="MapMiddleware"/>.
 11    /// </summary>
 12    public class MapOptions
 13    {
 14        /// <summary>
 15        /// The path to match.
 16        /// </summary>
 33117        public Func<FramingConnection, bool> Predicate { get; set; }
 18
 19        /// <summary>
 20        /// The branch taken for a positive match.
 21        /// </summary>
 28122        public HandshakeDelegate Branch { get; set; }
 23    }
 24}

Methods/Properties

Predicate()
Branch()