Class StatusManager
A simple class to handle showing status messages.
Inheritance
System.Object
StatusManager
Namespace: Phoenix.Users
Assembly: Phoenix.Plugin.Users.dll
Syntax
public class StatusManager : BindableBase
Constructors
View SourceStatusManager()
Initializes a new instance of the StatusManager class.
Declaration
public StatusManager()
Properties
View SourceOldestStatusMessage
Gets the oldest status message in the class.
Declaration
public string OldestStatusMessage { get; }
Property Value
Type | Description |
---|---|
System.String |
ShouldReportProgress
Gets a value indicating whether work is being performed or not.
Declaration
public bool ShouldReportProgress { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
View SourceAddStatus(String)
Adds a status message to the queue.
Declaration
public Guid AddStatus(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | Message to add. |
Returns
Type | Description |
---|---|
System.Guid | A unique identifier for the message. |
RemoveStatus(Guid)
Removes a status message from the queue.
Declaration
public void RemoveStatus(Guid id)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | id | Id of the message to remove. |