Share via


JobRouterModelFactory.StaticWorkerSelectorAttachment Method

Definition

Initializes a new instance of StaticWorkerSelectorAttachment.

public static Azure.Communication.JobRouter.StaticWorkerSelectorAttachment StaticWorkerSelectorAttachment (Azure.Communication.JobRouter.RouterWorkerSelector workerSelector = default);
static member StaticWorkerSelectorAttachment : Azure.Communication.JobRouter.RouterWorkerSelector -> Azure.Communication.JobRouter.StaticWorkerSelectorAttachment
Public Shared Function StaticWorkerSelectorAttachment (Optional workerSelector As RouterWorkerSelector = Nothing) As StaticWorkerSelectorAttachment

Parameters

workerSelector
RouterWorkerSelector

The worker selector to attach.

Returns

A new StaticWorkerSelectorAttachment instance for mocking.

Applies to