Interface ITaskBuildContextFactory
Factory interface for creating TaskBuildContext instances.
Namespace: Serenity.Tasking.Application.Interfaces
Assembly: Serenity.Global.Application.dll
Syntax
public interface ITaskBuildContextFactory
Methods
Create(ITaskServices, ILogService)
Creates a new TaskBuildContext with the provided dependencies.
Declaration
TaskBuildContext Create(ITaskServices services, ILogService logService)
Parameters
| Type | Name | Description |
|---|---|---|
| ITaskServices | services | Service container for resolving task dependencies. |
| ILogService | logService | Logging service for recording task-related information and errors. |
Returns
| Type | Description |
|---|---|
| TaskBuildContext | A new instance of TaskBuildContext. |