/// <summary>
        /// Call to fire event that updating the published content has finalized.
        /// </summary>
        /// <param name="content">An enumerable list of <see cref="IContent"/> thats being published</param>
        /// <param name="isAllRepublished">Boolean indicating whether its all content that is republished</param>
        public override void PublishingFinalized(IEnumerable <IContent> content, bool isAllRepublished)
        {
            var evtMsgs = _eventMessagesFactory.Get();

            Published.RaiseEvent(
                new PublishEventArgs <IContent>(content, false, isAllRepublished, evtMsgs), this);
        }
        /// <summary>
        /// Call to fire event that updating the published content has finalized.
        /// </summary>
        /// <remarks>
        /// This seperation of the OnPublished event is done to ensure that the Content
        /// has been properly updated (committed unit of work) and xml saved in the db.
        /// </remarks>
        /// <param name="content"><see cref="IContent"/> thats being published</param>
        public override void PublishingFinalized(IContent content)
        {
            var evtMsgs = _eventMessagesFactory.Get();

            Published.RaiseEvent(
                new PublishEventArgs <IContent>(content, false, false, evtMsgs), this);
        }
Exemple #3
0
 /// <summary>
 /// Call to fire event that updating the published content has finalized.
 /// </summary>
 /// <param name="content">An enumerable list of <see cref="IContent"/> thats being published</param>
 /// <param name="isAllRepublished">Boolean indicating whether its all content that is republished</param>
 public override void PublishingFinalized(IEnumerable <IContent> content, bool isAllRepublished)
 {
     Published.RaiseEvent(new PublishEventArgs <IContent>(content, false, isAllRepublished), this);
 }
Exemple #4
0
 /// <summary>
 /// Call to fire event that updating the published content has finalized.
 /// </summary>
 /// <remarks>
 /// This seperation of the OnPublished event is done to ensure that the Content
 /// has been properly updated (committed unit of work) and xml saved in the db.
 /// </remarks>
 /// <param name="content"><see cref="IContent"/> thats being published</param>
 public override void PublishingFinalized(IContent content)
 {
     Published.RaiseEvent(new PublishEventArgs <IContent>(content, false, false), this);
 }