/// <summary>
 /// Gets the metadata of the next group of blobs
 /// </summary>
 /// <param name="titleStorageService">Title Storage Service to retrieve next items</param>
 /// <param name="maxItems">[Optional] The maximum number of items the result can contain.  Pass 0 to attempt retrieving all items.</param>
 /// <returns>An instance of the <see cref="TitleStorageBlobMetadataResult"/> class containing metadata of the included blobs.</returns>
 public Task <TitleStorageBlobMetadataResult> GetNextAsync(TitleStorageService titleStorageService, uint maxItems = 0)
 {
     if (string.IsNullOrEmpty(this.continuationToken))
     {
         throw new ArgumentNullException("continuationToken");
     }
     return(titleStorageService.InternalGetBlobMetadata(
                TitleStorageBlobMetadataResult.User,
                this.storageType,
                this.blobPath,
                0,
                maxItems,
                this.continuationToken));
 }
Exemplo n.º 2
0
 internal TitleStorageBlobMetadataResult(XSAPI_TITLE_STORAGE_BLOB_METADATA_RESULT cObject, TitleStorageService service)
 {
     items = null;
     this.titleStorageService  = service;
     this.metadataResultStruct = cObject;
 }