< Summary

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

Metrics

MethodCyclomatic complexity Line coverage Branch coverage
get_PartitionId()-100%100%
set_PartitionId(...)-100%100%

File(s)

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

#LineLine coverage
 1// Copyright (c) Microsoft Corporation. All rights reserved.
 2// Licensed under the MIT License.
 3
 4namespace Azure.Messaging.EventHubs.Primitives
 5{
 6    /// <summary>
 7    ///   A set of contextual information about an Event Hub partition for which an
 8    ///   <see cref="EventProcessor{TPartition}" /> operation is being performed.
 9    /// </summary>
 10    ///
 11    /// <remarks>
 12    ///   This class represents a minimalist set of information and is intended to be
 13    ///   extended for scenarios which require additional context for partitions.
 14    /// </remarks>
 15    ///
 16    /// <seealso cref="EventProcessor{TPartition}" />
 17    ///
 18    public class EventProcessorPartition
 19    {
 20        /// <summary>
 21        ///   The identifier of the partition.
 22        /// </summary>
 23        ///
 24        public string PartitionId
 25        {
 21826            get;
 9027            protected internal set;
 28        }
 29    }
 30}