예제 #1
0
 protected override void Indexed(IndexContentContext context, TPart instance)
 {
     if (OnIndexed != null)
     {
         OnIndexed(context, instance);
     }
 }
예제 #2
0
 void IContentHandler.Indexed(IndexContentContext context)
 {
     foreach (var filter in Filters.OfType <IContentStorageFilter>())
     {
         filter.Indexed(context);
     }
     Indexed(context);
 }
예제 #3
0
        private void IndexLayout(IndexContentContext context, LayoutPart part) {
            var layoutShape = _contentPartDisplay.BuildDisplay(part);
            var layoutHtml = _shapeDisplay.Display(layoutShape);

            context.DocumentIndex
                .Add("body", layoutHtml).RemoveTags().Analyze()
                .Add("format", "html").Store();
        }
예제 #4
0
 protected virtual void Indexed(IndexContentContext context)
 {
 }
 public void Indexing(IndexContentContext context)
 {
 }
 public void Indexed(IndexContentContext context)
 {
 }