protected void LazyLoadHandlers(PublishLaterPart part)
 {
     part.ScheduledPublishUtc.Loader((value) => _publishLaterService.GetScheduledPublishUtc(part));
 }
 public PublishLaterViewModel(PublishLaterPart publishLaterPart)
 {
     _publishLaterPart = publishLaterPart;
 }
Пример #3
0
 DateTime? IPublishLaterService.GetScheduledPublishUtc(PublishLaterPart publishLaterPart) {
     IScheduledTask task = _publishingTaskManager.GetPublishTask(publishLaterPart.ContentItem);
     return (task == null ? null : task.ScheduledUtc);
 }
Пример #4
0
        DateTime?IPublishLaterService.GetScheduledPublishUtc(PublishLaterPart publishLaterPart)
        {
            IScheduledTask task = _publishingTaskManager.GetPublishTask(publishLaterPart.ContentItem);

            return(task == null ? null : task.ScheduledUtc);
        }
Пример #5
0
 protected void LazyLoadHandlers(PublishLaterPart part) {
     part.ScheduledPublishUtc.Loader(() => _publishLaterService.GetScheduledPublishUtc(part));
 }
Пример #6
0
 public PublishLaterViewModel(PublishLaterPart publishLaterPart)
 {
     _publishLaterPart = publishLaterPart;
 }