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);
 }
示例#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;
 }