Table of Contents

Class TemporalWorkerServiceOptionsBuilder

Namespace
Temporalio.Extensions.Hosting
Assembly
Temporalio.Extensions.Hosting.dll
public class TemporalWorkerServiceOptionsBuilder : ITemporalWorkerServiceOptionsBuilder
Inheritance
TemporalWorkerServiceOptionsBuilder
Implements
Inherited Members
Extension Methods

Constructors

TemporalWorkerServiceOptionsBuilder(string, IServiceCollection)

Initializes a new instance of the TemporalWorkerServiceOptionsBuilder class.

public TemporalWorkerServiceOptionsBuilder(string taskQueue, IServiceCollection services)

Parameters

taskQueue string

Task queue for the worker.

services IServiceCollection

Service collection being configured.

TemporalWorkerServiceOptionsBuilder(string, string?, IServiceCollection)

Initializes a new instance of the TemporalWorkerServiceOptionsBuilder class.

public TemporalWorkerServiceOptionsBuilder(string taskQueue, string? buildId, IServiceCollection services)

Parameters

taskQueue string

Task queue for the worker.

buildId string

Build ID for the worker.

services IServiceCollection

Service collection being configured.

Properties

BuildId

Gets the build ID for this worker service. If unset, versioning is disabled.

public string? BuildId { get; }

Property Value

string

Services

Gets the service collection being configured.

public IServiceCollection Services { get; }

Property Value

IServiceCollection

TaskQueue

Gets the task queue for this worker service.

public string TaskQueue { get; }

Property Value

string