Creates an engine with the specified application state and service provider.
- Namespace
- Statiq
.Core - Containing Type
- Engine
Syntax
public Engine(IApplicationState applicationState, IServiceCollection serviceCollection)
Parameters
| Name | Type | Description |
|---|---|---|
| applicationState | IApplicationState | The state of the application (or null for an empty application state). |
| serviceCollection | IServiceCollection | The service collection (or null for an empty default service collection). |