Search Results for

    Show / Hide Table of Contents

    Class ForegroundTaskSchedulerService

    The service used to execute enqueued tasks in the Evergine thread.

    Inheritance
    object
    IdentifiableObject
    DependencyObject
    AttachableObject
    Service
    UpdatableService
    ForegroundTaskSchedulerService
    Implements
    IDependencyObject
    Inherited Members
    Service.OnLoaded()
    Service.OnActivated()
    Service.Start()
    Service.OnDeactivated()
    Service.OnDetach()
    Service.OnDestroy()
    AttachableObject.AttachableStateChanged
    AttachableObject.IsEnabled
    AttachableObject.State
    AttachableObject.IsLoaded
    AttachableObject.IsAttached
    AttachableObject.IsActivated
    AttachableObject.IsStarted
    AttachableObject.IsDestroyed
    AttachableObject.ShouldBeActivated
    AttachableObject.Destroy()
    AttachableObject.DependencyBroken()
    DependencyObject.Dependencies
    DependencyObject.OnDependencyRemoved
    IdentifiableObject.Id
    IdentifiableObject.IdHasChanged(Guid)
    Namespace: Evergine.Framework.Services
    Assembly: Evergine.Framework.dll
    Syntax
    public class ForegroundTaskSchedulerService : UpdatableService, IDependencyObject
    Remarks

    This service is used by ForegroundTaskScheduler. If a user wants to enqueue a task, they must use ForegroundTaskScheduler.

    Methods

    OnAttached()

    Invoked when the object is attached to the system.

    Declaration
    protected override bool OnAttached()
    Returns
    Type Description
    bool

    True if everything is OK.

    Overrides
    Service.OnAttached()

    Update(TimeSpan)

    Executes the pending tasks in the ForegroundTaskScheduler.

    Declaration
    public override void Update(TimeSpan gameTime)
    Parameters
    Type Name Description
    TimeSpan gameTime

    The elapsed game time since the last update.

    Overrides
    UpdatableService.Update(TimeSpan)

    Implements

    IDependencyObject

    Extension Methods

    ReflectionHelper.GetMemberAssembly(object)
    ReflectionHelper.GetTypeName(object)
    In this article
    Back to top
    Generated by DocFX