![]() |
Design Pattern 2.1
|
Interface for customizable message providers. More...
Public Member Functions | |
string | GetMessage (OperationContext context, ProgressStage stage, float progress) |
Gets a formatted message based on the operation context and stage. | |
void | SetMessageTemplate (string key, string template) |
Sets a message template for a specific key. | |
string | GetMessageTemplate (string key) |
Gets the message template for a specific key. | |
Interface for customizable message providers.
string IProgressMessageProvider.GetMessage | ( | OperationContext | context, |
ProgressStage | stage, | ||
float | progress ) |
Gets a formatted message based on the operation context and stage.
Implemented in Design_Pattern.Runtime.Behavioral.Memento.DefaultProgressMessageProvider.
string IProgressMessageProvider.GetMessageTemplate | ( | string | key | ) |
Gets the message template for a specific key.
Implemented in Design_Pattern.Runtime.Behavioral.Memento.DefaultProgressMessageProvider.
void IProgressMessageProvider.SetMessageTemplate | ( | string | key, |
string | template ) |
Sets a message template for a specific key.
Implemented in Design_Pattern.Runtime.Behavioral.Memento.DefaultProgressMessageProvider.