The engine is the primary entry point for the generation process.
- Namespace
- Statiq
.Common - Interfaces
- Implementing Types
graph BT
Type-.->Interface0["IConfigurable"]
click Interface0 "/api/Statiq.Common/IConfigurable"
Type-.->Interface1["IExecutionState"]
click Interface1 "/api/Statiq.Common/IExecutionState"
Type-.->Interface2["IDocumentFactory"]
click Interface2 "/api/Statiq.Common/IDocumentFactory"
Type["IEngine"]
class Type type-node
Implementing0["TestEngine"]-.->Type
click Implementing0 "/api/Statiq.Testing/TestEngine"
Implementing1["Engine"]-.->Type
click Implementing1 "/api/Statiq.Core/Engine"
Syntax
public interface IEngine : IConfigurable, IExecutionState, IDocumentFactory
Properties
Name | Property Type | Summary |
---|---|---|
Analyzers | IAnalyzerCollection |
A collection of analyzers.
|
ApplicationState | IApplicationState |
Gets the state of the application when it was run.
|
Events | IEventCollection |
Gets global events and event handlers.
|
Logger | ILogger | |
Pipelines | IPipelineCollection |
Gets the pipelines.
|
SerialExecution | bool |
Executes pipeline phases and modules in serial.
|
Settings | ISettings |
Gets the configuration and settings.
|
Shortcodes | IShortcodeCollection |
Gets the shortcodes.
|
Extension Methods
Name | Value | Summary |
---|---|---|
Clone |
IDocument | |
Clone |
IDocument | |
Clone |
IDocument | |
Clone |
IDocument | |
Clone |
IDocument | |
Clone |
IDocument | |
Clone |
TDocument | |
Clone |
TDocument | |
Clone |
TDocument | |
Clone |
TDocument | |
Clone |
TDocument | |
Clone |
TDocument | |
CreateDocument |
IDocument | |
CreateDocument |
IDocument | |
CreateDocument |
IDocument | |
CreateDocument |
IDocument | |
CreateDocument |
IDocument | |
CreateDocument |
TDocument | |
CreateDocument |
TDocument | |
CreateDocument |
TDocument | |
CreateDocument |
TDocument | |
CreateDocument |
TDocument | |
GetCurrentDateTime |
DateTime |
Gets the current date/time using the
CurrentDateTime metadata setting if it's set,
otherwise using the value of ExecutionDateTime (which is
System.DateTime.Now at the time execution started).
|
GetLink |
string |
Gets a link for the specified document using the document destination.
This version should be used inside modules to ensure
consistent link generation. Note that you can optionally include the host or not depending
on if you want to generate host-specific links. By default, the host is not included so that
sites work the same on any server including the preview server.
|
GetLink |
string |
Gets a link for the specified metadata using the specified metadata value and the default settings from the
configuration. This version should be used inside modules to ensure
consistent link generation. Note that you can optionally include the host or not depending
on if you want to generate host-specific links. By default, the host is not included so that
sites work the same on any server including the preview server.
|
GetLink |
string |
Gets a link for the specified metadata using the specified metadata value and the default settings from the
configuration. This version should be used inside modules to ensure
consistent link generation. Note that you can optionally include the host or not depending
on if you want to generate host-specific links. By default, the host is not included so that
sites work the same on any server including the preview server.
|
GetLink |
string |
Converts the specified path into a string appropriate for use as a link using default settings from the
configuration. This version should be used inside modules to ensure
consistent link generation. Note that you can optionally include the host or not depending
on if you want to generate host-specific links. By default, the host is not included so that
sites work the same on any server including the preview server.
|
GetLink |
string |
Converts the path into a string appropriate for use as a link, overriding one or more
settings from the configuration.
|
GetLink |
string |
Converts the path into a string appropriate for use as a link, overriding one or more
settings from the configuration.
|
GetLink |
string |
Converts the path into a string appropriate for use as a link, overriding one or more
settings from the configuration.
|
GetLink |
string |
Converts the path into a string appropriate for use as a link, overriding one or more
settings from the configuration.
|
GetLink |
string |
Converts the path into a string appropriate for use as a link, overriding one or more
settings from the configuration.
|
GetLink |
string |
Converts the path into a string appropriate for use as a link, overriding one or more
settings from the configuration.
|
GetLink |
string |
Converts the path into a string appropriate for use as a link, overriding one or more
settings from the configuration.
|
GetLink |
string |
Converts the path into a string appropriate for use as a link, overriding one or more
settings from the configuration.
|
GetLink |
string |
Converts the specified path into a string appropriate for use as a link using default settings from the
configuration. This version should be used inside modules to ensure
consistent link generation. Note that you can optionally include the host or not depending
on if you want to generate host-specific links. By default, the host is not included so that
sites work the same on any server including the preview server.
|
GetLink |
string |
Converts the path into a string appropriate for use as a link, overriding one or more
settings from the configuration.
|
GetLink |
string |
Converts the path into a string appropriate for use as a link, overriding one or more
settings from the configuration.
|
GetLink |
string |
Converts the path into a string appropriate for use as a link, overriding one or more
settings from the configuration.
|
GetLink |
string |
Converts the path into a string appropriate for use as a link, overriding one or more
settings from the configuration.
|
GetLink |
string |
Converts the path into a string appropriate for use as a link, overriding one or more
settings from the configuration.
|
GetLink |
string |
Converts the path into a string appropriate for use as a link, overriding one or more
settings from the configuration.
|
GetLink |
string |
Converts the path into a string appropriate for use as a link, overriding one or more
settings from the configuration.
|
GetLink |
string |
Converts the path into a string appropriate for use as a link, overriding one or more
settings from the configuration.
|
GetLink |
string |
Gets a link for the root of the site using the host and root path specified in the settings.
|
LogAndCheckVersion |
void |
From IEngineExtensions
|
Send |
Task |
Sends a GET request with exponential back-off.
|
Send |
Task |
Sends a GET request with exponential back-off.
|
ThrowIfNull |
T |
From GuardExtensions
|
ToDocument |
IDocument | |
ToDocument |
IDocument | |
ToDocument |
IDocument | |
ToDocument |
IDocument | |
ToDocument |
IDocument | |
ToDocument |
IDocument |