예제 #1
0
 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");
 }
예제 #2
0
 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");
 }
예제 #3
0
 public BuilderQueue(IServiceProvider serviceProvider, IOptionsMonitor <ILog> log, ASC.Common.Utils.ConfigurationExtension configurationExtension)
 {
     logger          = log.Get("ASC.Files.ThumbnailBuilder");
     ServiceProvider = serviceProvider;
     config          = ThumbnailSettings.GetInstance(configurationExtension);
 }