C# 클래스 OxxCommerceStarterKit.Web.Business.Search.CatalogContentEventIndexer

파일 보기 프로젝트 열기: episerver/Commerce-Demo-Kit

공개 프로퍼티들

프로퍼티 타입 설명
IndexingEnabled bool

공개 메소드들

메소드 설명
CatalogContentEventIndexer ( ILogger logger, IContentEvents contentEvents ) : System
EnableEventListeners ( ) : void

보호된 메소드들

메소드 설명
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.

비공개 메소드들

메소드 설명
CatalogEventUpdated ( object sender, EventNotificationEventArgs eventNotificationEventArgs ) : void
CatalogKeyEventUpdated ( object sender, EventNotificationEventArgs eventNotificationEventArgs ) : void
DeSerialize ( byte buffer ) : EventArgs
GetParent ( CatalogContentBase content ) : EntryContentBase
IsSelfRaised ( EventNotificationEventArgs e ) : bool

메소드 상세

CatalogContentEventIndexer() 공개 메소드

public CatalogContentEventIndexer ( ILogger logger, IContentEvents contentEvents ) : System
logger ILogger
contentEvents IContentEvents
리턴 System

EnableEventListeners() 공개 메소드

public EnableEventListeners ( ) : void
리턴 void

IndexProduct() 보호된 메소드

protected IndexProduct ( IIndexableContent p ) : void
p IIndexableContent
리턴 void

LogEventDetails() 보호된 메소드

protected LogEventDetails ( EventNotificationEventArgs eventNotificationEventArgs, string eventType ) : void
eventNotificationEventArgs EventNotificationEventArgs
eventType string
리턴 void

PublishedContent() 보호된 메소드

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
리턴 void

프로퍼티 상세

IndexingEnabled 공개적으로 정적으로 프로퍼티

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