Search Results for

    Show / Hide Table of Contents

    Interface IStatusNotifier

    Notifies all subscribers to an update in system status

    Namespace: LemonEdge.Client.Core.Notifications
    Assembly: LemonEdge.ClientCore.dll
    Syntax
    public interface IStatusNotifier

    Methods

    ResetStatus()

    Resets the status message back to "Status: No status updates"

    Declaration
    void ResetStatus()

    SetError(string)

    Publishes the error message prepended with "Error: " (i.e. Error: Some Error Detected)

    Declaration
    void SetError(string errorMessage)
    Parameters
    Type Name Description
    string errorMessage

    SetStatus(string)

    Publishes the status message prepended with "Status: " (i.e. Status: No New Updates)

    Declaration
    void SetStatus(string statusMessage)
    Parameters
    Type Name Description
    string statusMessage

    Events

    StatusUpdated

    The event that will be fired whenever the status message is updated

    Declaration
    event EventHandler<string> StatusUpdated
    Event Type
    Type Description
    EventHandler<string>

    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.