Table of Contents

Namespace ToSic.Sxc.Engines

The Engines are the part of 2sxc that create output based on data.

It's basically the part that takes a full configuration, consisting of...

  1. What App
  2. What View
  3. What Template
  4. What Data - could be from a query or from the instance

...and then generates an HTML using Razor or Tokens or whatever engine may come in future.

Classes

EngineBase

The foundation for engines - must be inherited by other engines

TokenEngine

Rendering Engine for Token based templates (html using [Content:Title] kind of placeholders.

Interfaces

IEngine

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.