C# Класс OxxCommerceStarterKit.Web.Business.Search.FindProductUiSearchProvider

Наследование: ISearchProvider
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
_log ILogger

Открытые методы

Метод Описание
FindProductUiSearchProvider ( EPiServer.Framework.Localization.LocalizationService localizationService, ICatalogSystem catalogSystem ) : System.Collections.Generic
FindProductUiSearchProvider ( EPiServer.Framework.Localization.LocalizationService localizationService, ICatalogSystem catalogSystem, ReferenceConverter referenceConverter, IContentLoader contentLoader ) : System.Collections.Generic
Search ( Query query ) : IEnumerable

Executes a catalog search using EPiServer Find. This search works from the Catalog UI, the global search and

This implementation is not generic, since it knows all about the catalog model, and how the products are indexed. Because of this, we can create a good product search for editors.

Защищенные методы

Метод Описание
GetEditUrl ( EPiServer.Core.ContentReference contentLink ) : string

Gets the edit URL for the content which should work from the different searches

This implementation has knowledge of the UI internals, which should really have been solved by an API call.

Описание методов

FindProductUiSearchProvider() публичный Метод

public FindProductUiSearchProvider ( EPiServer.Framework.Localization.LocalizationService localizationService, ICatalogSystem catalogSystem ) : System.Collections.Generic
localizationService EPiServer.Framework.Localization.LocalizationService
catalogSystem ICatalogSystem
Результат System.Collections.Generic

FindProductUiSearchProvider() публичный Метод

public FindProductUiSearchProvider ( EPiServer.Framework.Localization.LocalizationService localizationService, ICatalogSystem catalogSystem, ReferenceConverter referenceConverter, IContentLoader contentLoader ) : System.Collections.Generic
localizationService EPiServer.Framework.Localization.LocalizationService
catalogSystem ICatalogSystem
referenceConverter ReferenceConverter
contentLoader IContentLoader
Результат System.Collections.Generic

GetEditUrl() защищенный Метод

Gets the edit URL for the content which should work from the different searches
This implementation has knowledge of the UI internals, which should really have been solved by an API call.
protected GetEditUrl ( EPiServer.Core.ContentReference contentLink ) : string
contentLink EPiServer.Core.ContentReference The content link.
Результат string

Search() публичный Метод

Executes a catalog search using EPiServer Find. This search works from the Catalog UI, the global search and
This implementation is not generic, since it knows all about the catalog model, and how the products are indexed. Because of this, we can create a good product search for editors.
public Search ( Query query ) : IEnumerable
query Query The query to execute
Результат IEnumerable

Описание свойств

_log защищенное свойство

protected ILogger _log
Результат ILogger