Design Pattern 2.1
Loading...
Searching...
No Matches
IProgressMessageProvider Interface Reference

Interface for customizable message providers. More...

Inheritance diagram for IProgressMessageProvider:
Collaboration diagram for IProgressMessageProvider:

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.
 

Detailed Description

Interface for customizable message providers.

Member Function Documentation

◆ GetMessage()

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.

◆ GetMessageTemplate()

string IProgressMessageProvider.GetMessageTemplate ( string key)

Gets the message template for a specific key.

Implemented in Design_Pattern.Runtime.Behavioral.Memento.DefaultProgressMessageProvider.

◆ SetMessageTemplate()

void IProgressMessageProvider.SetMessageTemplate ( string key,
string template )

Sets a message template for a specific key.

Implemented in Design_Pattern.Runtime.Behavioral.Memento.DefaultProgressMessageProvider.