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