Exemplo n.º 1
0
 /// <summary>
 /// Raises the <see cref="E:NodeIndexing"/> event.
 /// </summary>
 /// <param name="e">The <see cref="Examine.IndexingNodeEventArgs"/> instance containing the event data.</param>
 protected virtual void OnNodeIndexing(IndexingNodeEventArgs e)
 {
     if (NodeIndexing != null)
     {
         NodeIndexing(this, e);
     }
 }
 private void NodeIndexing(object sender, IndexingNodeEventArgs e)
 {
     // Don't index pages where "robotIndex" is set to TRUE
     e.Cancel = DisallowSearchEngineIndexing(e.Fields);
 }
Exemplo n.º 3
0
 protected override void OnNodeIndexing(IndexingNodeEventArgs e)
 {
     base.OnNodeIndexing(e);
 }