< Summary

Class:Microsoft.Azure.ServiceBus.Amqp.AmqpRequestResponseLinkCreator
Assembly:Microsoft.Azure.ServiceBus
File(s):C:\Git\azure-sdk-for-net\sdk\servicebus\Microsoft.Azure.ServiceBus\src\Amqp\AmqpRequestResponseLinkCreator.cs
Covered lines:0
Uncovered lines:6
Coverable lines:6
Total lines:27
Line coverage:0% (0 of 6)
Covered branches:0
Total branches:0

Metrics

MethodCyclomatic complexity Line coverage Branch coverage
.ctor(...)-0%100%
OnCreateAmqpLink(...)-0%100%

File(s)

C:\Git\azure-sdk-for-net\sdk\servicebus\Microsoft.Azure.ServiceBus\src\Amqp\AmqpRequestResponseLinkCreator.cs

#LineLine coverage
 1// Copyright (c) Microsoft. All rights reserved.
 2// Licensed under the MIT license. See LICENSE file in the project root for full license information.
 3
 4namespace Microsoft.Azure.ServiceBus.Amqp
 5{
 6    using System;
 7    using Microsoft.Azure.Amqp;
 8    using Microsoft.Azure.ServiceBus.Primitives;
 9
 10    internal class AmqpRequestResponseLinkCreator : AmqpLinkCreator
 11    {
 12        readonly string entityPath;
 13
 14        public AmqpRequestResponseLinkCreator(string entityPath, ServiceBusConnection serviceBusConnection, Uri endpoint
 015            : base(entityPath, serviceBusConnection, endpointAddress, audience, requiredClaims, cbsTokenProvider, linkSe
 16        {
 017            this.entityPath = entityPath;
 018        }
 19
 20        protected override AmqpObject OnCreateAmqpLink(AmqpConnection connection, AmqpLinkSettings linkSettings, AmqpSes
 21        {
 022            AmqpObject link = new RequestResponseAmqpLink(AmqpClientConstants.EntityTypeManagement, amqpSession, this.en
 023            linkSettings.LinkName = $"{connection.Settings.ContainerId};{connection.Identifier}:{amqpSession.Identifier}
 024            return link;
 25        }
 26    }
 27}

Methods/Properties

.ctor(...)
OnCreateAmqpLink(...)