< Summary - CoreWCF Coverage — PR #1766

Information
Class: CoreWCF.Description.ServiceMetadataContractBehavior
Assembly: CoreWCF.Primitives
File(s): /home/runner/work/CoreWCF/CoreWCF/src/CoreWCF.Primitives/src/CoreWCF/Description/ServiceMetadataContractBehavior.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 10
Coverable lines: 10
Total lines: 40
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

File(s)

/home/runner/work/CoreWCF/CoreWCF/src/CoreWCF.Primitives/src/CoreWCF/Description/ServiceMetadataContractBehavior.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 CoreWCF.Channels;
 5using CoreWCF.Dispatcher;
 6
 7namespace CoreWCF.Description
 8{
 9    public sealed class ServiceMetadataContractBehavior : IContractBehavior
 10    {
 011        public ServiceMetadataContractBehavior()
 12        {
 013        }
 14
 015        public ServiceMetadataContractBehavior(bool metadataGenerationDisabled)
 16        {
 017            MetadataGenerationDisabled = metadataGenerationDisabled;
 018        }
 19
 020        public bool MetadataGenerationDisabled { get; set; } = false;
 21
 22        #region IContractBehavior Members
 23        void IContractBehavior.Validate(ContractDescription description, ServiceEndpoint endpoint)
 24        {
 025        }
 26
 27        void IContractBehavior.ApplyDispatchBehavior(ContractDescription description, ServiceEndpoint endpoint, Dispatch
 28        {
 029        }
 30
 31        void IContractBehavior.AddBindingParameters(ContractDescription description, ServiceEndpoint endpoint, BindingPa
 32        {
 033        }
 34
 35        void IContractBehavior.ApplyClientBehavior(ContractDescription description, ServiceEndpoint endpoint, ClientRunt
 36        {
 037        }
 38        #endregion
 39    }
 40}