Class SchedulerExtensions
Константы и методы расширения для InfinniPlatform.Scheduler.
Inheritance
System.Object
SchedulerExtensions
Namespace:InfinniPlatform.Scheduler
Assembly:InfinniPlatform.Scheduler.Abstractions.dll
Syntax
public static class SchedulerExtensions : object
Fields
| Improve this Doc View SourceComponentName
Имя компонента для планировщика заданий.
Declaration
public const string ComponentName = null
Field Value
Type | Description |
---|---|
System.String |
DefaultGroupName
Имя группы заданий по умолчанию.
Declaration
public const string DefaultGroupName = null
Field Value
Type | Description |
---|---|
System.String |
ObjectNamePrefix
Префикс для наименований объектов планировщика заданий.
Declaration
public const string ObjectNamePrefix = null
Field Value
Type | Description |
---|---|
System.String |
Remarks
Используется в наименовании типов документов хранилища данных и в наименовании очередей распределенной шины сообщений.
Methods
| Improve this Doc View SourceRegisterJobHandlers(IContainerBuilder, Assembly)
Регистрирует все обработчики заданий IJobHandler текущей сборки со стратегией SingleInstance().
Declaration
public static void RegisterJobHandlers(this IContainerBuilder builder, Assembly assembly)
Parameters
Type | Name | Description |
---|---|---|
IContainerBuilder | builder | |
Assembly | assembly |
Remarks
Обработчики заданий IJobHandler будут зарегистрированы со стратегией SingleInstance().
Examples
RegisterJobHandlers(GetType().Assembly)
|
Improve this Doc
View Source
RegisterJobInfoSources(IContainerBuilder, Assembly)
Регистрирует все источники заданий IJobInfoSource текущей сборки со стратегией SingleInstance().
Declaration
public static void RegisterJobInfoSources(this IContainerBuilder builder, Assembly assembly)
Parameters
Type | Name | Description |
---|---|---|
IContainerBuilder | builder | |
Assembly | assembly |
Remarks
Источники заданий IJobInfoSource будут зарегистрированы со стратегией SingleInstance().
Examples
RegisterJobInfoSources(GetType().Assembly)