Creates an engine with the specified application state, configuration, and service provider.
- Namespace
- Statiq
.Core - Containing Type
- Engine
Syntax
public Engine(IApplicationState applicationState, IServiceCollection serviceCollection, Settings settings, ClassCatalog classCatalog, IReadOnlyFileSystem fileSystem)
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). |
| settings | Settings | The collection of settings. |
| classCatalog | ClassCatalog | A class catalog of all assemblies in scope. |
| fileSystem | IReadOnlyFileSystem | The file system to use for the engine. |