Skip to content

Class WorkerHostApplicationBuilderExtensions

Namespace: Cephalon.Worker.Hosting
Assembly: Cephalon.Worker.dll

Registers the Cephalon worker host adapter on a .

public static class WorkerHostApplicationBuilderExtensions

objectWorkerHostApplicationBuilderExtensions

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()

Adds Cephalon worker hosting using configuration-only engine setup.

public static HostApplicationBuilder AddCephalon(this HostApplicationBuilder builder)

builder HostApplicationBuilder

The generic host application builder to extend.

HostApplicationBuilder

The same builder instance for fluent composition.

AddCephalon(HostApplicationBuilder, Action<EngineBuilder>)

Section titled “ AddCephalon(HostApplicationBuilder, Action<EngineBuilder>)”

Adds Cephalon worker hosting and allows additional code-based engine configuration.

public static HostApplicationBuilder AddCephalon(this HostApplicationBuilder builder, Action<EngineBuilder> configure)

builder HostApplicationBuilder

The generic host application builder to extend.

configure Action<EngineBuilder>

The callback that configures the underlying engine builder.

HostApplicationBuilder

The same builder instance for fluent composition.

AddCephalonProjectConfigurations(HostApplicationBuilder)

Section titled “ AddCephalonProjectConfigurations(HostApplicationBuilder)”

Adds Cephalon’s project-configuration conventions to the generic host builder.

public static HostApplicationBuilder AddCephalonProjectConfigurations(this HostApplicationBuilder builder)

builder HostApplicationBuilder

The generic host application builder to extend.

HostApplicationBuilder

The same builder instance for fluent composition.

This loads split configuration files from the project’s Configurations folder so engine and host-specific settings can be grouped by concern while preserving the standard appsettings.json and appsettings.{Environment}.json override path.