< Summary

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

Metrics

MethodCyclomatic complexity Line coverage Branch coverage
.ctor(...)-0%100%
get_Path()-0%100%
get_MessageCount()-0%100%
get_MessageCountDetails()-0%100%
get_SizeInBytes()-0%100%
get_CreatedAt()-0%100%
get_UpdatedAt()-0%100%
get_AccessedAt()-0%100%

File(s)

C:\Git\azure-sdk-for-net\sdk\servicebus\Microsoft.Azure.ServiceBus\src\Management\QueueRuntimeInfo.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.Management
 5{
 6    using System;
 7
 8    /// <summary>
 9    /// This provides runtime information of the queue.
 10    /// </summary>
 11    public class QueueRuntimeInfo
 12    {
 013        internal QueueRuntimeInfo(string path)
 14        {
 015            this.Path = path;
 016        }
 17
 18        /// <summary>
 19        /// The path of the queue.
 20        /// </summary>
 021        public string Path { get; internal set; }
 22
 23        /// <summary>
 24        /// The total number of messages in the queue.
 25        /// </summary>
 026        public long MessageCount { get; internal set; }
 27
 28        /// <summary>
 29        /// Message count details of the sub-queues of the entity.
 30        /// </summary>
 031        public MessageCountDetails MessageCountDetails { get; internal set; }
 32
 33        /// <summary>
 34        /// Current size of the entity in bytes.
 35        /// </summary>
 036        public long SizeInBytes { get; internal set; }
 37
 38        /// <summary>
 39        /// The <see cref="DateTime"/> when the entity was created.
 40        /// </summary>
 041        public DateTime CreatedAt { get; internal set; }
 42
 43        /// <summary>
 44        /// The <see cref="DateTime"/> when the entity description was last updated.
 45        /// </summary>
 046        public DateTime UpdatedAt { get; internal set; }
 47
 48        /// <summary>
 49        /// The <see cref="DateTime"/> when the entity was last accessed.
 50        /// </summary>
 051        public DateTime AccessedAt { get; internal set; }
 52    }
 53}