DurableTaskRegistry Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Container for registered ITaskOrchestrator and ITaskActivity implementations.
public sealed class DurableTaskRegistry
type DurableTaskRegistry = class
Public NotInheritable Class DurableTaskRegistry
- Inheritance
-
DurableTaskRegistry
Constructors
DurableTaskRegistry() |
Methods
AddActivity(ITaskActivity) |
Registers an activity singleton. |
AddActivity(TaskName, Func<IServiceProvider,ITaskActivity>) |
Registers an activity factory. |
AddActivity(TaskName, ITaskActivity) |
Registers an activity singleton. |
AddActivity(TaskName, Type) |
Registers an activity factory, resolving the provided type with the service provider. |
AddActivity(Type) |
Registers an activity factory, resolving the provided type with the service provider. The TaskName used is derived from the provided type information. |
AddActivity<TActivity>() |
Registers an activity factory, resolving the provided type with the service provider. The TaskName used is derived from the provided type information. |
AddActivity<TActivity>(TaskName) |
Registers an activity factory, resolving the provided type with the service provider. |
AddActivityFunc(TaskName, Action<TaskActivityContext>) |
Registers an activity factory, where the implementation is |
AddActivityFunc(TaskName, Func<TaskActivityContext,Task>) |
Registers an activity factory, where the implementation is |
AddActivityFunc<TInput,TOutput>(TaskName, Func<TaskActivityContext,TInput,Task<TOutput>>) |
Registers an activity factory, where the implementation is |
AddActivityFunc<TInput,TOutput>(TaskName, Func<TaskActivityContext,TInput,TOutput>) |
Registers an activity factory, where the implementation is |
AddActivityFunc<TInput>(TaskName, Action<TaskActivityContext,TInput>) |
Registers an activity factory, where the implementation is |
AddActivityFunc<TInput>(TaskName, Func<TaskActivityContext,TInput,Task>) |
Registers an activity factory, where the implementation is |
AddActivityFunc<TOutput>(TaskName, Func<TaskActivityContext,Task<TOutput>>) |
Registers an activity factory, where the implementation is |
AddActivityFunc<TOutput>(TaskName, Func<TaskActivityContext,TOutput>) |
Registers an activity factory, where the implementation is |
AddOrchestrator(ITaskOrchestrator) |
Registers an orchestrator singleton. |
AddOrchestrator(TaskName, Func<ITaskOrchestrator>) |
Registers an orchestrator factory. |
AddOrchestrator(TaskName, ITaskOrchestrator) |
Registers an orchestrator singleton. |
AddOrchestrator(TaskName, Type) |
Registers an orchestrator factory. |
AddOrchestrator(Type) |
Registers an orchestrator factory. The TaskName used is derived from the provided type information. |
AddOrchestrator<TOrchestrator>() |
Registers an orchestrator factory. The TaskName used is derived from the provided type information. |
AddOrchestrator<TOrchestrator>(TaskName) |
Registers an orchestrator factory. |
AddOrchestratorFunc(TaskName, Action<TaskOrchestrationContext>) |
Registers an orchestrator factory, where the implementation is |
AddOrchestratorFunc(TaskName, Func<TaskOrchestrationContext,Task>) |
Registers an orchestrator factory, where the implementation is |
AddOrchestratorFunc<TInput,TOutput>(TaskName, Func<TaskOrchestrationContext,TInput,Task<TOutput>>) |
Registers an orchestrator factory, where the implementation is |
AddOrchestratorFunc<TInput,TOutput>(TaskName, Func<TaskOrchestrationContext,TInput,TOutput>) |
Registers an orchestrator factory, where the implementation is |
AddOrchestratorFunc<TInput>(TaskName, Action<TaskOrchestrationContext,TInput>) |
Registers an orchestrator factory, where the implementation is |
AddOrchestratorFunc<TInput>(TaskName, Func<TaskOrchestrationContext,TInput,Task>) |
Registers an orchestrator factory, where the implementation is |
AddOrchestratorFunc<TOutput>(TaskName, Func<TaskOrchestrationContext,Task<TOutput>>) |
Registers an orchestrator factory, where the implementation is |
AddOrchestratorFunc<TOutput>(TaskName, Func<TaskOrchestrationContext,TOutput>) |
Registers an orchestrator factory, where the implementation is |