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.Tasks
    Assembly: 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
    System.Boolean

    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
    System.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

    MiscExtensions.SetIfNotEqual<T, P>(T, Expression<Func<T, P>>, P)
    ReflectionExtensions.ClearEventInvocations(Object, String)
    StringExtensions.ToCSVFormatString(Object, Type)
    SQLExtensions.ToSQLValue(Object, Boolean)

    See Also

    ITaskProcessor
    ITaskRunner
    In This Article
    Back to top © LemonEdge Technology. All rights reserved.