Interface IBusyReporter
Used for providing a generic implementation for displaying, or logging, a busy processing message for the user
Each DisplayBusy(string) call is added to a stack. The system is still shown as busy processing un till an equal amount of StopBusy() calls are made
Namespace: LemonEdge.API.Core.Reporting
Assembly: LemonEdge.API.dll
Syntax
public interface IBusyReporter
Properties
IsBusy
Indicates if the system is still showing as busy. Will hold true until an equal amount of calls to StopBusy() have been made as were to DisplayBusy(string)
Declaration
bool IsBusy { get; }
Property Value
Type | Description |
---|---|
bool |
Methods
DisplayBusy(string)
Displays the specified message to the user while the system is busy processing.
This is added to a stack of busy messages. The system will continue to display itself as busy until an equal amount of StopBusy() calls are made
Declaration
void DisplayBusy(string msg)
Parameters
Type | Name | Description |
---|---|---|
string | msg | The message to be displayed as the system is busy processing |
StopBusy()
Stops the system from displaying the message associated with the last call to DisplayBusy(string)
The system will then show as no longer being busy, or still busy showing the last message provided to DisplayBusy(string) until an equal amount of calls to this method is made as was to DisplayBusy(string)
Declaration
void StopBusy()