public AzurePictureService(ICacheManager cacheManager_,
                            AzurePictureServiceSettings settings_,
                            IRepository <Picture> pictureRepository, IRepository <ProductPicture> productPictureRepository,
                            ISettingService settingService, IWebHelper webHelper, ILogger logger, IDbContext dbContext, IEventPublisher eventPublisher,
                            MediaSettings mediaSettings)
     : base(
         pictureRepository, productPictureRepository, settingService, webHelper, logger, dbContext, eventPublisher,
         mediaSettings)
 {
     _cacheManager   = cacheManager_;
     _settings       = settings_;
     _settingService = settingService;
 }
        public override void Install()
        {
            var settings = new AzurePictureServiceSettings()
            {
                ConnectionString = "UseDevelopmentStorage=true",
                ContainerName    = "AzureImages"
            };

            _settingService.SaveSetting(settings);

            //locales
            this.AddOrUpdatePluginLocaleResource("Plugins.Pictures.AzurePictureService.ContainerName", "Container Name");
            this.AddOrUpdatePluginLocaleResource("Plugins.Pictures.AzurePictureService.ContainerName.Hint", "Container Name to use for storing images.");
            this.AddOrUpdatePluginLocaleResource("Plugins.Pictures.AzurePictureService.ConnectionString", "Connection String");
            this.AddOrUpdatePluginLocaleResource("Plugins.Pictures.AzurePictureService.ConnectionString.Hint", "Connection string to be used for connecting to Azure Blob Storage.");
            this.AddOrUpdatePluginLocaleResource("Plugins.Pictures.AzurePictureService.IsEnabled", "Enable");
            this.AddOrUpdatePluginLocaleResource("Plugins.Pictures.AzurePictureService.IsEnabled.Hint", "Enable.");
            base.Install();
        }