Class HostingExtensions
Extension methods for configuring the Morpheo worker.
Inherited Members
Namespace: Morpheo.Core
Assembly: Morpheo.Core.dll
Syntax
public static class HostingExtensions
Methods
| Edit this page View SourceUseMorpheoWorker(IHostBuilder)
Configures the host to run as a Morpheo worker, adapting to the underlying operating system (Windows Service, Systemd, etc.).
Declaration
public static IHostBuilder UseMorpheoWorker(this IHostBuilder builder)
Parameters
| Type | Name | Description |
|---|---|---|
| IHostBuilder | builder | The host builder. |
Returns
| Type | Description |
|---|---|
| IHostBuilder | The configured host builder. |