Esempio n. 1
0
        void IPublishLaterService.Publish(ContentItem contentItem, DateTime scheduledPublishUtc)
        {
            if (!Services.Authorizer.Authorize(Permissions.PublishContent, contentItem, T("Couldn't publish selected content.")))
            {
                return;
            }

            _publishingTaskManager.Publish(contentItem, scheduledPublishUtc);
        }
 public void Publish(BlogPostPart blogPostPart, DateTime scheduledPublishUtc)
 {
     _publishingTaskManager.Publish(blogPostPart.ContentItem, scheduledPublishUtc);
 }
 public void Publish(CasePostPart cAsePostPart, DateTime scheduledPublishUtc)
 {
     _publishingTaskManager.Publish(cAsePostPart.ContentItem, scheduledPublishUtc);
 }