Class TaskuraiClientFactory
Class to create Taskurai Clients the Taskurai.Worker.TaskuraiClientFactory.
Assembly: Taskurai.Worker.dll
Declaration
public class TaskuraiClientFactory : ITaskuraiClientFactory
Implements:
Taskurai.Worker.ITaskuraiClientFactory
Methods
Create(TaskuraiClientOptions)
Creates an singleton instance of the Taskurai client Taskurai.TaskuraiClient.
Declaration
public TaskuraiClient Create(TaskuraiClientOptions clientOptions = null)
Returns
Taskurai.TaskuraiClient: The same instance of the Taskurai client Taskurai.TaskuraiClient.
Parameters
Type | Name | Description |
---|---|---|
Taskurai.TaskuraiClientOptions | clientOptions | The Taskurai.TaskuraiClientOptions. |