BlueCollar.Worker.Worker C# (CSharp) Méthode

Worker() public méthode

Initializes a new instance of the Worker class.
public Worker ( string applicationName, long id, string name, QueueNameFilters queueFilters, int heartbeat, bool schedulerEnabled, IRepositoryFactory repositoryFactory, ILogger logger ) : System
applicationName string The name of the application the worker belongs to.
id long The ID of the worker in the repository.
name string The name of the worker.
queueFilters QueueNameFilters The queue name filters the worker should use while processing queues..
heartbeat int The number of seconds between poll intervals.
schedulerEnabled bool A value indicating whether the scheduler is enabled.
repositoryFactory IRepositoryFactory The repository factory to use when accessing data.
logger ILogger The logger to use when logging messages.
Résultat System
        public Worker(string applicationName, long id, string name, QueueNameFilters queueFilters, int heartbeat, bool schedulerEnabled, IRepositoryFactory repositoryFactory, ILogger logger)
            : this(applicationName, id, name, queueFilters, heartbeat, schedulerEnabled, repositoryFactory, logger, null)
        {
        }

Same methods

Worker::Worker ( string applicationName, long id, string name, QueueNameFilters queueFilters, int heartbeat, bool schedulerEnabled, IRepositoryFactory repositoryFactory, ILogger logger, IScheduler scheduler ) : System