Table of Contents

Interface IEngine

Namespace
ToSic.Sxc.Engines
Assembly
ToSic.Sxc.dll

The sub-system in charge of taking

  • a configuration for an instance (aka Module)
  • a template and using all that to produce an html-string for the browser.
[InternalApi_DoNotUse_MayChangeWithoutNotice("this is just fyi")]
public interface IEngine : IHasLog
Inherited Members

Methods

Init(IBlock)

void Init(IBlock block)

Parameters

block IBlock

Render(RenderSpecs)

Renders a template, returning a string with the rendered template.

RenderEngineResult Render(RenderSpecs specs)

Parameters

specs RenderSpecs

Returns

RenderEngineResult

The string - usually HTML - which the engine created.