示例#1
0
 public void ProcessContentUnPublished(IContentService sender, PublishEventArgs <IContent> e)
 {
     foreach (var pe in e.PublishedEntities)
     {
         if (IsUserTag(pe))
         {
             Disassociate(pe);
             _userTagsSearchIndexer.Delete(pe.Key);
         }
     }
 }
 public void ProcessContentUnPublished(IPublishingStrategy sender, PublishEventArgs <IContent> e)
 {
     foreach (var pe in e.PublishedEntities)
     {
         if (IsUserTag(pe))
         {
             _userTagsSearchIndexer.Delete(pe.Key);
         }
     }
 }