< Summary

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

Metrics

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

File(s)

C:\Git\azure-sdk-for-net\sdk\servicebus\Microsoft.Azure.ServiceBus\src\Management\SubscriptionRuntimeInfo.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 subscription.
 10    /// </summary>
 11    public class SubscriptionRuntimeInfo
 12    {
 013        internal SubscriptionRuntimeInfo(string topicPath, string subscriptionName)
 14        {
 015            this.TopicPath = topicPath;
 016            this.SubscriptionName = subscriptionName;
 017        }
 18
 19        /// <summary>
 20        /// The path of the topic.
 21        /// </summary>
 022        public string TopicPath { get; internal set; }
 23
 24        /// <summary>
 25        /// The name of subscription.
 26        /// </summary>
 027        public string SubscriptionName { get; internal set; }
 28
 29        /// <summary>
 30        /// The total number of messages in the subscription.
 31        /// </summary>
 032        public long MessageCount { get; internal set; }
 33
 34        /// <summary>
 35        /// Message count details of the sub-queues of the entity.
 36        /// </summary>
 037        public MessageCountDetails MessageCountDetails { get; internal set; }
 38
 39        /// <summary>
 40        /// The <see cref="DateTime"/> when the entity was last accessed.
 41        /// </summary>
 042        public DateTime AccessedAt { get; internal set; }
 43
 44        /// <summary>
 45        /// The <see cref="DateTime"/> when the entity was created.
 46        /// </summary>
 047        public DateTime CreatedAt { get; internal set; }
 48
 49        /// <summary>
 50        /// The <see cref="DateTime"/> when the entity description was last updated.
 51        /// </summary>
 052        public DateTime UpdatedAt { get; internal set; }
 53    }
 54}