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); }
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)); }