< Summary

Class:Azure.Messaging.ServiceBus.Core.TransportConnectionScope
Assembly:Azure.Messaging.ServiceBus
File(s):C:\Git\azure-sdk-for-net\sdk\servicebus\Azure.Messaging.ServiceBus\src\Core\TransportConnectionScope.cs
Covered lines:1
Uncovered lines:0
Coverable lines:1
Total lines:29
Line coverage:100% (1 of 1)
Covered branches:0
Total branches:0

Metrics

MethodCyclomatic complexity Line coverage Branch coverage
get_SessionTimeout()-100%100%

File(s)

C:\Git\azure-sdk-for-net\sdk\servicebus\Azure.Messaging.ServiceBus\src\Core\TransportConnectionScope.cs

#LineLine coverage
 1// Copyright (c) Microsoft Corporation. All rights reserved.
 2// Licensed under the MIT License.
 3
 4using System;
 5
 6namespace Azure.Messaging.ServiceBus.Core
 7{
 8    internal abstract class TransportConnectionScope : IDisposable
 9    {
 10        /// <summary>
 11        ///   Indicates whether this <see cref="TransportConnectionScope"/> has been disposed.
 12        /// </summary>
 13        ///
 14        /// <value><c>true</c> if disposed; otherwise, <c>false</c>.</value>
 15        ///
 16        public abstract bool IsDisposed { get; protected set; }
 17
 18        /// <summary>
 19        ///   The recommended timeout to associate with the session.
 20        /// </summary>
 21        ///
 10622        public TimeSpan SessionTimeout { get; } = TimeSpan.FromSeconds(30);
 23
 24        /// <summary>
 25        /// Disposes of the connection scope.
 26        /// </summary>
 27        public abstract void Dispose();
 28    }
 29}

Methods/Properties

get_SessionTimeout()