public Worker( IServiceProvider serviceProvider, IOptionsMonitor <ILog> options, Common.Utils.ConfigurationExtension configurationExtension) { this.serviceProvider = serviceProvider; this.thumbnailSettings = ThumbnailSettings.GetInstance(configurationExtension); logger = options.Get("ASC.Files.ThumbnailBuilder"); }
public Builder( Common.Utils.ConfigurationExtension configurationExtension, TenantManager tenantManager, IDaoFactory daoFactory, DocumentServiceConnector documentServiceConnector, DocumentServiceHelper documentServiceHelper, Global global, PathProvider pathProvider, IOptionsMonitor <ILog> log) { this.config = ThumbnailSettings.GetInstance(configurationExtension); TenantManager = tenantManager; DaoFactory = daoFactory; DocumentServiceConnector = documentServiceConnector; DocumentServiceHelper = documentServiceHelper; Global = global; PathProvider = pathProvider; logger = log.Get("ASC.Files.ThumbnailBuilder"); }
public BuilderQueue(IServiceProvider serviceProvider, IOptionsMonitor <ILog> log, ASC.Common.Utils.ConfigurationExtension configurationExtension) { logger = log.Get("ASC.Files.ThumbnailBuilder"); ServiceProvider = serviceProvider; config = ThumbnailSettings.GetInstance(configurationExtension); }