Search Results for

    Show / Hide Table of Contents

    Interface ITaskRunner

    The interface any processor for implementing tasks implements

    Inherited Members
    IProcessor.Updater
    IProcessor.Cache
    IProcessor.User
    IProcessor.Reporter
    Namespace: LemonEdge.API.Core.Tasks
    Assembly: LemonEdge.API.dll
    Syntax
    public interface ITaskRunner : IProcessor

    Properties

    Services

    Provides the IServiceContext giving access to core LemonEdge components.

    Declaration
    IServiceContext Services { get; }
    Property Value
    Type Description
    IServiceContext

    Task

    The current task being processed by this task runner

    Declaration
    IServerTask Task { get; }
    Property Value
    Type Description
    IServerTask

    TimeStarted

    The datetime stamp the processing of this task was started

    Declaration
    DateTime TimeStarted { get; }
    Property Value
    Type Description
    DateTime

    Methods

    CreateUpdater()

    Creates a new context for querying and updating the entire lemonedge platform

    Can be used by tasks that perform multiple isolated actions

    Declaration
    Task<IEntityUpdater> CreateUpdater()
    Returns
    Type Description
    Task<IEntityUpdater>

    A new context for querying and updating the entire lemonedge platform

    Extension Methods

    LinqExtensions.AsArray<T>(T)
    LinqExtensions.ToArrayOfOne<T>(T)
    LinqExtensions.ToListOfOne<T>(T)
    MiscExtensions.SetIfNotEqual<T, TP>(T, Expression<Func<T, TP>>, TP)
    WeakReferenceExtensions.WeakReference(object)
    SQLExtensions.ToSQLValue(object, bool)
    ReflectionExtensions.ClearEventInvocations(object, string)
    StringExtensions.ToCSVFormatString(object, Type)
    In this article
    Back to top © LemonEdge Technologies. All rights reserved.