< Summary

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

Metrics

MethodCyclomatic complexity Line coverage Branch coverage
.ctor(...)-0%100%
get_LinkObject()-0%100%
get_Audience()-0%100%
get_EndpointUri()-0%100%
get_RequiredClaims()-0%100%
get_AuthorizationValidUntilUtc()-0%100%

File(s)

C:\Git\azure-sdk-for-net\sdk\servicebus\Microsoft.Azure.ServiceBus\src\Amqp\ActiveClientLinkObject.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 Microsoft.Azure.Amqp;
 7    using System;
 8
 9    abstract class ActiveClientLinkObject
 10    {
 11        readonly string[] requiredClaims;
 12
 013        protected ActiveClientLinkObject(AmqpObject amqpLinkObject,  Uri endpointUri, string[] audience, string[] requir
 14        {
 015            this.LinkObject = amqpLinkObject;
 016            this.EndpointUri = endpointUri;
 017            this.Audience = audience;
 018            this.requiredClaims = requiredClaims;
 019            this.AuthorizationValidUntilUtc = authorizationValidUntilUtc;
 020        }
 21
 022        public AmqpObject LinkObject { get; }
 23
 024        public string[] Audience { get; }
 25
 026        public Uri EndpointUri { get; }
 27
 028        public string[] RequiredClaims => (string[])this.requiredClaims.Clone();
 29
 030        public DateTime AuthorizationValidUntilUtc { get; set; }
 31
 32        public abstract AmqpConnection Connection { get; }
 33    }
 34}