Search Results for

    Show / Hide Table of Contents

    Interface ITaskService

    An interface that a service for processing IServerTask implements

    The service monitors the task queue and processes tasks independantly.

    Can be run from a client that is directly connected to a database, or any directly connected service
    Namespace: LemonEdge.API.Core.Tasks
    Assembly: LemonEdge.API.dll
    Syntax
    public interface ITaskService

    Properties

    IsRunning

    Returns true if the task service is currently running

    Declaration
    bool IsRunning { get; }
    Property Value
    Type Description
    bool

    Methods

    SetFileOutput(string)

    Sets a path to a file to log the processing of all tasks by the sevice to

    Declaration
    void SetFileOutput(string filePath)
    Parameters
    Type Name Description
    string filePath

    A path to file to log all task activity to

    StartOnNewThread()

    Starts the service processing any IServerTask on the queue

    Declaration
    void StartOnNewThread()

    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)

    See Also

    ITaskProcessor
    ITaskRunner
    In this article
    Back to top © LemonEdge Technologies. All rights reserved.