logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class TaskBuildContextFactory

    Default factory for creating TaskBuildContext instances.

    Inheritance
    object
    TaskBuildContextFactory
    Implements
    ITaskBuildContextFactory
    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 TaskBuildContextFactory : ITaskBuildContextFactory

    Constructors

    TaskBuildContextFactory()

    Declaration
    public TaskBuildContextFactory()

    Methods

    Create(ITaskServices, ILogService)

    Creates a new TaskBuildContext with the provided dependencies.

    Declaration
    public 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.

    Implements

    ITaskBuildContextFactory
    In this article
    © 2026 Serenity. All Rights Reserved