Class ComponentCellValueExtractor<TProps>
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
TPropsType of the component model produced by ModelRetriever.
- Inheritance
-
objectComponentCellValueExtractor<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
componentPropsTPropsModel of the rendered component.
cancellationTokenCancellationTokenCancellation instruction.
Returns
- Task<object>