C# Класс DotNetWorkQueue.SchedulerContainer

Allows creation of new ATaskScheduler and ITaskFactory instances
Наследование: BaseContainer
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
CreateTaskFactory ( ) : ITaskFactory

Creates the task factory.

CreateTaskFactory ( ATaskScheduler scheduler ) : ITaskFactory

Creates the task factory.

CreateTaskScheduler ( ) : ATaskScheduler

Creates the task scheduler.

SchedulerContainer ( ) : System

Initializes a new instance of the SchedulerContainer class.

SchedulerContainer ( Action registerService, Action setOptions = null ) : System

Initializes a new instance of the SchedulerContainer class.

SetContainerFactory ( Func createContainer ) : void

Set the container creation function. This allows you to use your own IoC container.

Приватные методы

Метод Описание
CreateTaskFactoryInternal ( ATaskScheduler scheduler, bool weOwnScheduler ) : ITaskFactory

Creates the task factory.

Описание методов

CreateTaskFactory() публичный Метод

Creates the task factory.
public CreateTaskFactory ( ) : ITaskFactory
Результат ITaskFactory

CreateTaskFactory() публичный Метод

Creates the task factory.
public CreateTaskFactory ( ATaskScheduler scheduler ) : ITaskFactory
scheduler ATaskScheduler The scheduler.
Результат ITaskFactory

CreateTaskScheduler() публичный Метод

Creates the task scheduler.
public CreateTaskScheduler ( ) : ATaskScheduler
Результат ATaskScheduler

SchedulerContainer() публичный Метод

Initializes a new instance of the SchedulerContainer class.
public SchedulerContainer ( ) : System
Результат System

SchedulerContainer() публичный Метод

Initializes a new instance of the SchedulerContainer class.
public SchedulerContainer ( Action registerService, Action setOptions = null ) : System
registerService Action The register service.
setOptions Action The options.
Результат System

SetContainerFactory() публичный статический Метод

Set the container creation function. This allows you to use your own IoC container.
public static SetContainerFactory ( Func createContainer ) : void
createContainer Func
Результат void