logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class TaskBuildContext

    Context class providing services and logging capabilities for building tasks.

    Inheritance
    object
    TaskBuildContext
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    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.

    In this article
    © 2026 Serenity. All Rights Reserved