public static BlobServiceClient GetBlobServiceClient(this AzuriteFixture azuriteFixture) { var transport = azuriteFixture.GetTransport(); return(new BlobServiceClient(azuriteFixture.GetAzureAccount().ConnectionString, new BlobClientOptions() { Transport = transport })); }
public static QueueServiceClient GetQueueServiceClient(this AzuriteFixture azuriteFixture, QueueClientOptions queueClientOptions = default) { if (queueClientOptions == default) { queueClientOptions = new QueueClientOptions() { MessageEncoding = QueueMessageEncoding.Base64 }; } queueClientOptions.Transport = azuriteFixture.GetTransport(); return(new QueueServiceClient(azuriteFixture.GetAzureAccount().ConnectionString, queueClientOptions)); }