< Summary

Class:Azure.Storage.Blobs.ChangeFeed.BlobChangeFeedEventPage
Assembly:Azure.Storage.Blobs.ChangeFeed
File(s):C:\Git\azure-sdk-for-net\sdk\storage\Azure.Storage.Blobs.ChangeFeed\src\Models\BlobChangeFeedEventPage.cs
Covered lines:6
Uncovered lines:5
Coverable lines:11
Total lines:30
Line coverage:54.5% (6 of 11)
Covered branches:0
Total branches:0

Metrics

MethodCyclomatic complexity Line coverage Branch coverage
get_Values()-100%100%
get_ContinuationToken()-100%100%
GetRawResponse()-0%100%
.ctor()-0%100%
.ctor(...)-100%100%
Empty()-0%100%

File(s)

C:\Git\azure-sdk-for-net\sdk\storage\Azure.Storage.Blobs.ChangeFeed\src\Models\BlobChangeFeedEventPage.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    internal class BlobChangeFeedEventPage : Page<BlobChangeFeedEvent>
 11    {
 17612        public override IReadOnlyList<BlobChangeFeedEvent> Values { get; }
 4413        public override string ContinuationToken { get; }
 014        public override Response GetRawResponse() => null;
 15        //private Response _raw;
 16
 017        public BlobChangeFeedEventPage() { }
 18
 14419        public BlobChangeFeedEventPage(List<BlobChangeFeedEvent> events, string continuationToken)
 20        {
 14421            Values = events;
 14422            ContinuationToken = continuationToken;
 14423        }
 24
 25        public static BlobChangeFeedEventPage Empty()
 026            => new BlobChangeFeedEventPage(
 027                new List<BlobChangeFeedEvent>(),
 028                null);
 29    }
 30}