public ILargeMessageQueue <T> Create <T>(string queueName, string blobContainerName, ILargeMessageQueueErrorHandler errorHandler) where T : class { IAsyncQueue <LargeMessageReference> referenceQueue = _queueFactory.CreateAsyncQueue <LargeMessageReference>(queueName); IAsyncBlockBlobRepository blobRepository = _blobRepositoryFactory.CreateAsyncBlockBlobRepository(blobContainerName); ILargeMessageQueue <T> queue = new LargeMessageQueue <T>(_serializer, referenceQueue, blobRepository, _loggerFactory.CreateLogger <LargeMessageQueue <T> >(), errorHandler); return(queue); }
public IAsyncQueue <T> CreateAsyncQueue <T>(string queueName) where T : class { return(_queueFactory.CreateAsyncQueue <T>(queueName)); }