| | 1 | | // Copyright (c) Microsoft Corporation. All rights reserved. |
| | 2 | | // Licensed under the MIT License. |
| | 3 | |
|
| | 4 | | using System; |
| | 5 | | using System.Collections.Generic; |
| | 6 | | using System.Text; |
| | 7 | |
|
| | 8 | | namespace Azure.Storage.Blobs.ChangeFeed |
| | 9 | | { |
| | 10 | | internal class BlobChangeFeedEventPage : Page<BlobChangeFeedEvent> |
| | 11 | | { |
| 176 | 12 | | public override IReadOnlyList<BlobChangeFeedEvent> Values { get; } |
| 44 | 13 | | public override string ContinuationToken { get; } |
| 0 | 14 | | public override Response GetRawResponse() => null; |
| | 15 | | //private Response _raw; |
| | 16 | |
|
| 0 | 17 | | public BlobChangeFeedEventPage() { } |
| | 18 | |
|
| 144 | 19 | | public BlobChangeFeedEventPage(List<BlobChangeFeedEvent> events, string continuationToken) |
| | 20 | | { |
| 144 | 21 | | Values = events; |
| 144 | 22 | | ContinuationToken = continuationToken; |
| 144 | 23 | | } |
| | 24 | |
|
| | 25 | | public static BlobChangeFeedEventPage Empty() |
| 0 | 26 | | => new BlobChangeFeedEventPage( |
| 0 | 27 | | new List<BlobChangeFeedEvent>(), |
| 0 | 28 | | null); |
| | 29 | | } |
| | 30 | | } |