Exemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ContentHashListResponse"/> class.
 /// </summary>
 public ContentHashListResponse(
     ContentHashListWithCacheMetadata contentHashListWithCacheMetadata,
     IDictionary <BlobIdentifier, ExpirableUri> blobIdsToUris)
 {
     ContentHashListWithCacheMetadata = contentHashListWithCacheMetadata;
     BlobDownloadUris = blobIdsToUris?.ToDictionary(
         blobId => blobId.Key.ValueString,
         blobKvp => blobKvp.Value.NotNullUri);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AddContentHashListRequest"/> class.
 /// </summary>
 public AddContentHashListRequest(ContentHashListWithCacheMetadata contentHashListWithCacheMetadata)
 {
     ContentHashListWithCacheMetadata = contentHashListWithCacheMetadata;
 }