C# Class OxxCommerceStarterKit.Web.Business.Search.CatalogContentEventIndexer

Afficher le fichier Open project: episerver/Commerce-Demo-Kit

Méthodes publiques

Свойство Type Description
IndexingEnabled bool

Méthodes publiques

Méthode Description
CatalogContentEventIndexer ( ILogger logger, IContentEvents contentEvents ) : System
EnableEventListeners ( ) : void

Méthodes protégées

Méthode Description
IndexProduct ( IIndexableContent p ) : void
LogEventDetails ( EventNotificationEventArgs eventNotificationEventArgs, string eventType ) : void
PublishedContent ( object sender, ContentEventArgs e ) : void

Note! This method should not fail, it will prevent the product from being saved.

Private Methods

Méthode Description
CatalogEventUpdated ( object sender, EventNotificationEventArgs eventNotificationEventArgs ) : void
CatalogKeyEventUpdated ( object sender, EventNotificationEventArgs eventNotificationEventArgs ) : void
DeSerialize ( byte buffer ) : EventArgs
GetParent ( CatalogContentBase content ) : EntryContentBase
IsSelfRaised ( EventNotificationEventArgs e ) : bool

Method Details

CatalogContentEventIndexer() public méthode

public CatalogContentEventIndexer ( ILogger logger, IContentEvents contentEvents ) : System
logger ILogger
contentEvents IContentEvents
Résultat System

EnableEventListeners() public méthode

public EnableEventListeners ( ) : void
Résultat void

IndexProduct() protected méthode

protected IndexProduct ( IIndexableContent p ) : void
p IIndexableContent
Résultat void

LogEventDetails() protected méthode

protected LogEventDetails ( EventNotificationEventArgs eventNotificationEventArgs, string eventType ) : void
eventNotificationEventArgs EventNotificationEventArgs
eventType string
Résultat void

PublishedContent() protected méthode

Note! This method should not fail, it will prevent the product from being saved.
protected PublishedContent ( object sender, ContentEventArgs e ) : void
sender object
e ContentEventArgs
Résultat void

Property Details

IndexingEnabled public_oe static_oe property

Set this flag to temporary disable indexing while running long jobs. It is enabled by default.
public static bool IndexingEnabled
Résultat bool