Class TemporalWorkerServiceOptionsBuilder
- Namespace
- Temporalio.Extensions.Hosting
- Assembly
- Temporalio.Extensions.Hosting.dll
Implementation of ITemporalWorkerServiceOptionsBuilder.
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
stringTask queue for the worker.
services
IServiceCollectionService 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
stringTask queue for the worker.
buildId
stringBuild ID for the worker.
services
IServiceCollectionService collection being configured.
Properties
BuildId
Gets the build ID for this worker service. If unset, versioning is disabled.
public string? BuildId { get; }
Property Value
Services
Gets the service collection being configured.
public IServiceCollection Services { get; }
Property Value
TaskQueue
Gets the task queue for this worker service.
public string TaskQueue { get; }