Exemplo n.º 1
0
 public PublishCli(ISelectorStorage storageSelector, IPublishPreflight publishPreflight,
                   IWebHtmlPublishService publishService, AppSettings appSettings, IConsole console)
 {
     _publishPreflight      = publishPreflight;
     _publishService        = publishService;
     _appSettings           = appSettings;
     _console               = console;
     _argsHelper            = new ArgsHelper(appSettings, console);
     _hostFileSystemStorage = storageSelector.Get(SelectorStorage.StorageServices.HostFilesystem);
     _subPathStorage        = storageSelector.Get(SelectorStorage.StorageServices.SubPath);
 }
Exemplo n.º 2
0
 public PublishController(AppSettings appSettings, IPublishPreflight publishPreflight,
                          IWebHtmlPublishService publishService, IMetaInfo metaInfo, ISelectorStorage selectorStorage,
                          IUpdateBackgroundTaskQueue queue, IWebLogger webLogger)
 {
     _appSettings      = appSettings;
     _publishPreflight = publishPreflight;
     _publishService   = publishService;
     _metaInfo         = metaInfo;
     _hostStorage      = selectorStorage.Get(SelectorStorage.StorageServices.HostFilesystem);
     _bgTaskQueue      = queue;
     _webLogger        = webLogger;
 }