Sdílet prostřednictvím


BlobsModelFactory.BlockList 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
IEnumerable<BlobBlock>
uncommittedBlocks
IEnumerable<BlobBlock>

Returns

Applies to