public BlobAssemblyRepository(IConfiguration configuration, BlobCommentRepository commentRepository)
        {
            var connectionString = configuration.GetValue <string>("APIVIEW_STORAGE");
            var container        = configuration.GetValue <string>("APIVIEW_STORAGE_CONTAINER");

            ContainerClient        = new BlobContainerClient(connectionString, container);
            this.commentRepository = commentRepository;
        }
Esempio n. 2
0
        public BlobAssemblyRepository(IConfiguration configuration, BlobCommentRepository commentRepository)
        {
            var connectionString = configuration["APIVIEW_STORAGE"] ?? configuration["Reviews:ConnectionString"];

            ContainerClient        = new BlobContainerClient(connectionString, "assemblies");
            OriginalsContainer     = new BlobContainerClient(connectionString, "originals");
            this.commentRepository = commentRepository;
        }