public ContentInfoModel(int contentItemId, IOrchardServices orchardServices, int timeOffSet, IVersionManagerInfoDataService versionManagerInfoDataService)
 {
     _contentItemId = contentItemId;
     _orchardServices = orchardServices;
     _timeOffSet = timeOffSet;
     _versionManagerInfoDataService = versionManagerInfoDataService;
 }
 public ContentInfoModel(int contentItemId, IOrchardServices orchardServices, int timeOffSet, IVersionManagerInfoDataService versionManagerInfoDataService)
 {
     _contentItemId   = contentItemId;
     _orchardServices = orchardServices;
     _timeOffSet      = timeOffSet;
     _versionManagerInfoDataService = versionManagerInfoDataService;
 }
 public ContentVersionInfoModel(int contentItemId, int contentItemVersionId, IOrchardServices orchardServices, int hoursOffSetUtc, IVersionManagerInfoDataService versionManagerInfoDataService)
 {
     _contentItemId = contentItemId;
     _contentItemVersionId = contentItemVersionId;
     _orchardServices = orchardServices;
     _hoursOffSetUtc = hoursOffSetUtc;
     _versionManagerInfoDataService = versionManagerInfoDataService;
 }
예제 #4
0
 public ContentVersionInfoModel(int contentItemId, int contentItemVersionId, IOrchardServices orchardServices, int hoursOffSetUtc, IVersionManagerInfoDataService versionManagerInfoDataService)
 {
     _contentItemId                 = contentItemId;
     _contentItemVersionId          = contentItemVersionId;
     _orchardServices               = orchardServices;
     _hoursOffSetUtc                = hoursOffSetUtc;
     _versionManagerInfoDataService = versionManagerInfoDataService;
 }
 public VersionManager(IOrchardServices orchardServices, ITimeZoneSelector timeZoneSelector,
                       IWorkContextAccessor workContextAccessor,
                       IVersionManagerInfoDataService versionManagerInfoDataService)
 {
     _orchardServices               = orchardServices;
     _timeZoneSelector              = timeZoneSelector;
     _workContextAccessor           = workContextAccessor;
     _versionManagerInfoDataService = versionManagerInfoDataService;
 }
 public VersionManager(IOrchardServices orchardServices, ITimeZoneSelector timeZoneSelector,
     IWorkContextAccessor workContextAccessor,
     IVersionManagerInfoDataService versionManagerInfoDataService)
 {
     _orchardServices = orchardServices;
     _timeZoneSelector = timeZoneSelector;
     _workContextAccessor = workContextAccessor;
     _versionManagerInfoDataService = versionManagerInfoDataService;
 }
 public VersionManagerWorkerService(IVersionManager versionManager, IContentManager contentManager,
                                    IVersionManagerDataService versionManagerDataService,
                                    INotifier notifier,
                                    IVersionManagerInfoDataService versionManagerInfoDataService,
                                    IRepository <ContentItemVersionRecord> contentItemVersionRepository)
 {
     _versionManager            = versionManager;
     _contentManager            = contentManager;
     _versionManagerDataService = versionManagerDataService;
     _notifier = notifier;
     _versionManagerInfoDataService = versionManagerInfoDataService;
     _contentItemVersionRepository  = contentItemVersionRepository;
     T = NullLocalizer.Instance;
 }
 public VersionManagerWorkerService(IVersionManager versionManager, IContentManager contentManager,
                                    IVersionManagerDataService versionManagerDataService,
                                    INotifier notifier,
                                    IVersionManagerInfoDataService versionManagerInfoDataService,
                                    IRepository<ContentItemVersionRecord> contentItemVersionRepository)
 {
     _versionManager = versionManager;
     _contentManager = contentManager;
     _versionManagerDataService = versionManagerDataService;
     _notifier = notifier;
     _versionManagerInfoDataService = versionManagerInfoDataService;
     _contentItemVersionRepository = contentItemVersionRepository;
     T = NullLocalizer.Instance;
 }