Class EngineBase
The foundation for engines - must be inherited by other engines
[InternalApi_DoNotUse_MayChangeWithoutNotice("this is just fyi")]
public abstract class EngineBase : ServiceBase<EngineBase.MyServices>, IEngine, IHasLog
- Inheritance
-
EngineBase
- Implements
- Derived
Constructors
EngineBase(MyServices, object[])
Empty constructor, so it can be used in dependency injection
protected EngineBase(EngineBase.MyServices services, object[] connect = null)
Parameters
services
EngineBase.MyServicesconnect
object[]
Methods
Init(IBlock)
public virtual void Init(IBlock block)
Parameters
block
IBlock
Render(RenderSpecs)
Renders a template, returning a string with the rendered template.
public virtual RenderEngineResult Render(RenderSpecs specs)
Parameters
specs
RenderSpecs
Returns
- RenderEngineResult
The string - usually HTML - which the engine created.