BlobsModelFactory.BlockList(IEnumerable<BlobBlock>, IEnumerable<BlobBlock>) Method

Definition

Creates a new BlockList instance for mocking.

public static Azure.Storage.Blobs.Models.BlockList BlockList (System.Collections.Generic.IEnumerable<Azure.Storage.Blobs.Models.BlobBlock> committedBlocks = default, System.Collections.Generic.IEnumerable<Azure.Storage.Blobs.Models.BlobBlock> uncommittedBlocks = default);
static member BlockList : seq<Azure.Storage.Blobs.Models.BlobBlock> * seq<Azure.Storage.Blobs.Models.BlobBlock> -> Azure.Storage.Blobs.Models.BlockList
Public Shared Function BlockList (Optional committedBlocks As IEnumerable(Of BlobBlock) = Nothing, Optional uncommittedBlocks As IEnumerable(Of BlobBlock) = Nothing) As BlockList

Parameters

committedBlocks
System.Collections.Generic.IEnumerable<BlobBlock>
uncommittedBlocks
System.Collections.Generic.IEnumerable<BlobBlock>

Returns

BlockList

Applies to