| | | 1 | | // Copyright (c) Microsoft Corporation. All rights reserved. |
| | | 2 | | // Licensed under the MIT License. |
| | | 3 | | |
| | | 4 | | namespace 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) |
| | 264 | 16 | | => new LazyLoadingBlobStream( |
| | 264 | 17 | | blobClient, |
| | 264 | 18 | | offset, |
| | 264 | 19 | | blockSize); |
| | | 20 | | } |
| | | 21 | | } |