IEngineInitializer Interface
Implement this interface to define an initializer that will get automatically instantiated and run by the engine at startup.
graph BT Type["IEngineInitializer"] class Type type-node Implementing0["HtmlDocumentCacheInitializer"]-.->Type click Implementing0 "/api/Statiq.Common/HtmlDocumentCacheInitializer" Implementing1["RazorEngineInitializer"]-.->Type click Implementing1 "/api/Statiq.Razor/RazorEngineInitializer"

Syntax

public interface IEngineInitializer

Remarks

In order for the engine to find the initializer, the class must be public.

Methods

Name Return Value Summary
Initialize(IEngine) void

Extension Methods