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

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