Table of Contents

Class ComponentCellValueExtractor<TProps>

Namespace
Kentico.Xperience.Admin.Base
Assembly
Kentico.Xperience.Admin.Base.dll

Base class of Kentico.Xperience.Admin.Base.IComponentCellValueExtractor implementations handling a component model of the TProps type. A model of any other type, including none at all, exports an empty value.

public abstract class ComponentCellValueExtractor<TProps>

Type Parameters

TProps

Type of the component model produced by ModelRetriever.

Inheritance
object
ComponentCellValueExtractor<TProps>
Extension Methods

Constructors

ComponentCellValueExtractor()

protected ComponentCellValueExtractor()

Methods

GetValue(TProps, CancellationToken)

Returns the value exported in place of the component model.

public abstract Task<object> GetValue(TProps componentProps, CancellationToken cancellationToken = default)

Parameters

componentProps TProps

Model of the rendered component.

cancellationToken CancellationToken

Cancellation instruction.

Returns

Task<object>