Exemplo n.º 1
0
        public UnitTestManager()
        {
            IServiceCollection services = new ServiceCollection();

            services.AddSingleton <IConfiguration>(Configuration);

            _mockupService    = new MockupServices();
            _containerService = new ContainerService(_config, _mockupService);
            _azureFileService = new AzureFileService(_config, _mockupService);
            connectionString  = _config["storageconnectionstring"];
        }
Exemplo n.º 2
0
 public AzureFileService(IConfiguration Configuration, IMockupServices mockupService)
 {
     connectionString  = Configuration["storageconnectionstring"];
     _mockupService    = mockupService;
     blobServiceClient = new BlobServiceClient(connectionString);
 }
 public ContainerController(ILogger <HomeController> logger, IContainerService containerService, IMockupServices mockupService)
 {
     _logger           = logger;
     _containerService = containerService;
     _mockupService    = mockupService;
 }