< Summary

Class:Azure.Messaging.EventHubs.Primitives.EventProcessorCheckpoint
Assembly:Azure.Messaging.EventHubs
File(s):C:\Git\azure-sdk-for-net\sdk\eventhub\Azure.Messaging.EventHubs\src\Primitives\EventProcessorCheckpoint.cs
Covered lines:5
Uncovered lines:0
Coverable lines:5
Total lines:48
Line coverage:100% (5 of 5)
Covered branches:0
Total branches:0

Metrics

MethodCyclomatic complexity Line coverage Branch coverage
get_FullyQualifiedNamespace()-100%100%
get_EventHubName()-100%100%
get_ConsumerGroup()-100%100%
get_PartitionId()-100%100%
get_StartingPosition()-100%100%

File(s)

C:\Git\azure-sdk-for-net\sdk\eventhub\Azure.Messaging.EventHubs\src\Primitives\EventProcessorCheckpoint.cs

#LineLine coverage
 1// Copyright (c) Microsoft Corporation. All rights reserved.
 2// Licensed under the MIT License.
 3
 4using Azure.Messaging.EventHubs.Consumer;
 5
 6namespace Azure.Messaging.EventHubs.Primitives
 7{
 8    /// <summary>
 9    ///   Contains the information to reflect the state of event processing for a given Event Hub partition.
 10    /// </summary>
 11    ///
 12    /// <seealso cref="EventProcessor{TPartition}" />
 13    ///
 14    public class EventProcessorCheckpoint
 15    {
 16        /// <summary>
 17        ///   The fully qualified Event Hubs namespace this checkpoint is associated with.  This
 18        ///   is likely to be similar to <c>{yournamespace}.servicebus.windows.net</c>.
 19        /// </summary>
 20        ///
 9221        public string FullyQualifiedNamespace { get; set; }
 22
 23        /// <summary>
 24        ///   The name of the specific Event Hub this checkpoint is associated with, relative
 25        ///   to the Event Hubs namespace that contains it.
 26        /// </summary>
 27        ///
 8828        public string EventHubName { get; set; }
 29
 30        /// <summary>
 31        ///   The name of the consumer group this checkpoint is associated with.
 32        /// </summary>
 33        ///
 8434        public string ConsumerGroup { get; set; }
 35
 36        /// <summary>
 37        ///   The identifier of the Event Hub partition this checkpoint is associated with.
 38        /// </summary>
 39        ///
 9040        public string PartitionId { get; set; }
 41
 42        /// <summary>
 43        ///   The starting position within the partition's event stream that this checkpoint is associated with.
 44        /// </summary>
 45        ///
 446        public EventPosition StartingPosition { get; set; }
 47    }
 48}