/// <summary> /// アイテム発行時に実行されるイベント /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void Document_Publishing(IPublishingStrategy sender, PublishEventArgs <IContent> e) { e.PublishedEntities.ForEach(x => Automation.PublishingAutoOparations(x)); }
/// <summary> /// アイテム保存後に実行されるイベント /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void Document_Saved(IContentService sender, SaveEventArgs <IContent> e) { e.SavedEntities.ForEach(x => Automation.SavedAutoOparations(x)); }