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
Returns
- IComponentRenderer
An instance of an IComponentRenderer that has been configured to render the component.