< Summary

Class:Azure.Storage.Blobs.ChangeFeed.SegmentCursor
Assembly:Azure.Storage.Blobs.ChangeFeed
File(s):C:\Git\azure-sdk-for-net\sdk\storage\Azure.Storage.Blobs.ChangeFeed\src\Models\SegmentCursor.cs
Covered lines:12
Uncovered lines:0
Coverable lines:12
Total lines:42
Line coverage:100% (12 of 12)
Covered branches:0
Total branches:0

Metrics

MethodCyclomatic complexity Line coverage Branch coverage
get_ShardCursors()-100%100%
get_CurrentShardPath()-100%100%
get_SegmentPath()-100%100%
.ctor(...)-100%100%
.ctor()-100%100%

File(s)

C:\Git\azure-sdk-for-net\sdk\storage\Azure.Storage.Blobs.ChangeFeed\src\Models\SegmentCursor.cs

#LineLine coverage
 1// Copyright (c) Microsoft Corporation. All rights reserved.
 2// Licensed under the MIT License.
 3
 4using System;
 5using System.Collections.Generic;
 6using System.Text;
 7
 8namespace Azure.Storage.Blobs.ChangeFeed
 9{
 10    /// <summary>
 11    /// Segment Cursor.
 12    /// </summary>
 13    internal class SegmentCursor
 14    {
 15        /// <summary>
 16        /// Shard Cursors.
 17        /// </summary>
 71618        public List<ShardCursor> ShardCursors { get; set; }
 19
 20        /// <summary>
 21        /// The path to the current Shard.
 22        /// </summary>
 42423        public string CurrentShardPath { get; set; }
 24
 25        /// <summary>
 26        /// The path of the Segment.
 27        /// </summary>
 42828        public string SegmentPath { get; set; }
 29
 14830        internal SegmentCursor(
 14831            string segmentPath,
 14832            List<ShardCursor> shardCursors,
 14833            string currentShardPath)
 34        {
 14835            SegmentPath = segmentPath;
 14836            ShardCursors = shardCursors;
 14837            CurrentShardPath = currentShardPath;
 14838        }
 39
 13640        public SegmentCursor() { }
 41    }
 42}