< Summary

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

Metrics

MethodCyclomatic complexity Line coverage Branch coverage
BuildLazyLoadingBlobStream(...)-100%100%

File(s)

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

#LineLine coverage
 1// Copyright (c) Microsoft Corporation. All rights reserved.
 2// Licensed under the MIT License.
 3
 4namespace Azure.Storage.Blobs.ChangeFeed
 5{
 6    /// <summary>
 7    /// Creates LazyLoadingBlobStreams.  Allows us to inject mock
 8    /// LazyLoadingBlobStreams in the Chunk unit tests.
 9    /// </summary>
 10    internal class LazyLoadingBlobStreamFactory
 11    {
 12        public virtual LazyLoadingBlobStream BuildLazyLoadingBlobStream(
 13            BlobClient blobClient,
 14            long offset,
 15            long blockSize)
 26416            => new LazyLoadingBlobStream(
 26417                blobClient,
 26418                offset,
 26419                blockSize);
 20    }
 21}

Methods/Properties

BuildLazyLoadingBlobStream(...)