Class TaskBuildContext
Context class providing services and logging capabilities for building tasks.
Inherited Members
Namespace: Serenity.Tasking.Application.Tasks
Assembly: Serenity.Global.Application.dll
Syntax
public class TaskBuildContext
Constructors
TaskBuildContext(ITaskServices, ILogService)
Initializes a new instance of the TaskBuildContext class.
Declaration
public TaskBuildContext(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. |
Properties
LogService
Logging service for recording task-related information and errors.
Declaration
public ILogService LogService { get; set; }
Property Value
| Type | Description |
|---|---|
| ILogService | The logging service instance. |
Services
Service container for resolving task dependencies.
Declaration
public ITaskServices Services { get; }
Property Value
| Type | Description |
|---|---|
| ITaskServices | The service container instance. |