C# Класс ElasticLinq.Response.Materializers.TermlessFacetElasticMaterializer

Materializes a single termless facet from the response.
Наследование: IElasticMaterializer
Показать файл Открыть проект Примеры использования класса

Private Properties

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

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

Метод Описание
Materialize ( ElasticLinq.Response.Model.ElasticResponse response ) : object

Materialize a single object from the response using the projector or return a default value based on the element type.

MaterializeSingle ( ElasticLinq.Response.Model.ElasticResponse response ) : object

Materialize a single object from the response using the projector or return null if there are no applicable facets.

TermlessFacetElasticMaterializer ( object>.Func projector, Type elementType, object key = null ) : ElasticLinq.Response.Model

Create an instance of the TermlessFacetElasticMaterializer with the given parameters.

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

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

Materialize a single object from the response using the projector or return a default value based on the element type.
public Materialize ( ElasticLinq.Response.Model.ElasticResponse response ) : object
response ElasticLinq.Response.Model.ElasticResponse The to materialize facets from.
Результат object

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

Materialize a single object from the response using the projector or return null if there are no applicable facets.
public MaterializeSingle ( ElasticLinq.Response.Model.ElasticResponse response ) : object
response ElasticLinq.Response.Model.ElasticResponse The to materialize facets from.
Результат object

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

Create an instance of the TermlessFacetElasticMaterializer with the given parameters.
public TermlessFacetElasticMaterializer ( object>.Func projector, Type elementType, object key = null ) : ElasticLinq.Response.Model
projector object>.Func A function to turn a hit into a desired object.
elementType System.Type The type of object being materialized.
key object The constant value for any key references during materialization.
Результат ElasticLinq.Response.Model