// This is a bit weird, since we do not own ressources, nor do we check any other resources. // It is done to make testing easier. private static void EnsureTestBlobStorage(IStorageServiceClientFactory factory, string containerName) { factory .Create() .GetBlobContainerClient(containerName) .CreateIfNotExists(); }
public StorageHandler(IStorageServiceClientFactory storageServiceClientFactory, StorageConfig storageConfig) { _storageServiceClientFactory = storageServiceClientFactory; _storageConfig = storageConfig; }
public TestClientFactoryWrapper(IStorageServiceClientFactory coreFactory) { _coreFactory = coreFactory; }