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.Tasks
    Assembly: API.dll
    Syntax
    public interface ITaskRunner : IProcessor

    Properties

    DBAlias

    The current connected database alias the task is running against.

    Used for tasks that store results in files using WriteStream(String, String, Stream)

    Declaration
    string DBAlias { get; }
    Property Value
    Type Description
    System.String

    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
    System.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
    System.Threading.Tasks.Task<IEntityUpdater>

    A new context for querying and updating the entire lemonedge platform

    Extension Methods

    MiscExtensions.SetIfNotEqual<T, P>(T, Expression<Func<T, P>>, P)
    ReflectionExtensions.ClearEventInvocations(Object, String)
    StringExtensions.ToCSVFormatString(Object, Type)
    SQLExtensions.ToSQLValue(Object, Boolean)
    In This Article
    Back to top © LemonEdge Technology. All rights reserved.