Table of Contents

Interface IComponentRendererFactory

Namespace
Sitecore.AspNetCore.SDK.RenderingEngine.Rendering
Assembly
Sitecore.AspNetCore.SDK.RenderingEngine.dll

Creates the appropriate instance of an IComponentRenderer for a given Component.

public interface IComponentRendererFactory

Methods

GetRenderer(Component)

Retrieves an IComponentRenderer that has been configured to render the specified Component.

IComponentRenderer GetRenderer(Component component)

Parameters

component Component

The Component that requires rendering.

Returns

IComponentRenderer

An instance of an IComponentRenderer that has been configured to render the component.