C# Class DotNetWorkQueue.Factory.WorkerHeartBeatNotificationFactory

Creates a new instance of IWorkerHeartBeatNotification
Inheritance: IWorkerHeartBeatNotificationFactory
Show file Open project: blehnen/DotNetWorkQueue

Public Methods

Method Description
Create ( CancellationToken cancellationToken ) : IWorkerHeartBeatNotification

Creates a new instance of IWorkerHeartBeatNotification

WorkerHeartBeatNotificationFactory ( IContainerFactory container, IHeartBeatConfiguration configuration ) : System.Threading

Initializes a new instance of the WorkerHeartBeatNotificationFactory class.

Method Details

Create() public method

Creates a new instance of IWorkerHeartBeatNotification
public Create ( CancellationToken cancellationToken ) : IWorkerHeartBeatNotification
cancellationToken System.Threading.CancellationToken The cancellation token.
return IWorkerHeartBeatNotification

WorkerHeartBeatNotificationFactory() public method

Initializes a new instance of the WorkerHeartBeatNotificationFactory class.
public WorkerHeartBeatNotificationFactory ( IContainerFactory container, IHeartBeatConfiguration configuration ) : System.Threading
container IContainerFactory The container.
configuration IHeartBeatConfiguration The configuration.
return System.Threading